Update index.html

format and clean the prototype