added node support

Hello Chris,

I would like to use you libraries in node.
If you agree, simple merge.

This simple change would do the tric.

you would only have to do an "npm publish"