updated index.html javascript and css