commit changes to main.js