Move javascripts to end of body