support node 0.10+. fixed #6
Merge pull request #8 from fengmk2/node0.10

support node 0.10+. fixed #6