Changed main.js