Update for node 0.8.x and npm

Was very happy to come across your repo!

I updated it for node 0.8.x and submitted it to npm.

If you're interested in maintaining this, I'd be more than happy to turn the npm package over to you.