Fix for node.js
Merge pull request #17 from SamDuvall/master

Add node.js support