Fixes main path so it can be used in Node.js
Merge pull request #1 from cezary/master

Fixes main path so it can be used in Node.js