Fix main.js file