Fix function name in node 0.8.x
Merge pull request #19 from jay-depot/fix-0.8

Fix function name in node 0.8.x