Fixed bugs in index.html