modify main.js file