fixed index.js exports for node.js
Merge pull request #1 from sequoiar/master

fixed index.js