move jquery out of the main page