change to main.js