Fixed bugs of index.html