Renamed all index.js to main.js