updated index.html to fix bugs