Relocate JS files in html