correct js in html