editing main.js