Fixed node 0.10.0 compatiblity.
Merge pull request #41 from FrozenCow/master

Node 0.10.0 compatiblity