move js files to head tag