Fixed bugs on index.html