Avoid an error when loading in non-Node envs

Otherwise, this reference to `module` causes:

```
ReferenceError: module is not defined
```