hw6, some corrections to index.html