added JS scripts to html