Fixes [#116]

Based on [UMD example](https://github.com/umdjs/umd/blob/master/commonjsStrictGlobal.js).

The old CommonJS code did not support strict implementations (which should use the `exports` object directly instead of the `module` object).