Update index.html

Altered some of the element creation code