moved js script in html