Fix some typos that were causing issues in node 0.10.x