main.js changed