Moves code to index.html

- Chanegs spaces to tabs.