Move Javascripts into <head>