fixed package.json index file
Now works as a commonjs module