add gitignore for temp files, merge index.html and main.js