Clean up index.html and main.js