added JS to html file