Checked for module.exports for global

using module.exports for global for browserify env
here we'd want to always use the global Number:
```sh
$ node
> Number.isNaN
[Function: isNaN]
```