changed main path to index.js in package.json