support node 0.10.x
Merge pull request #3482 from mozilla/nodejs-0.10.0

support node 0.10.x