.gitignore.
Refactor index.html and main.js.