move jquery and handlebars to end of page