started refactor of index.html