Update index.html and main.js