Move javascripts in head