index.js renamed to main.js