Changing to index.js instead of main.js and making change in package.json.