update package.json to use index.js as main file