Update index.html

Refactored beginning