updated index html and js