Fixed package.js main to point to lib/index.js