update to html and js