update to the html and js