Fixes for buggy NodeJS 0.10.30
Typo fix