Now works with 0.8.x nodejs

Gday

I have done a quick fix to get this working on current version of node.

Plan on hacking a bit more to update it and tweak some of the code.

Great tool BTW!