node v0.8 support
Merge pull request #381 from numbcoder/master

node v0.8+ support