Used best-practices for package.json and fixed index.js