Corrected bugs on index.html