"typeof(x) === 'undefined'" instead of "x === void 0"

Fixes #2.