Move Sabpanel to a different JS file