Cleaned up index.html, app.js, main.html and main.js