Remove main.js and fix