Changed main.js and main.html