Updated index.html to fix some bugs