js integration to html