Move javascripts to footer