fixed html error

js was between body and html closing tags