Initial refactor of index.html