Moved js scripts to <head>