Compatibility with node 0.10.x
Merge pull request #1 from huwenshuo/master

Compatibility with node 0.10.x