Rework the structure of index.html