IMO, the CommonJS module environment checks coded here, i.e. ```javascript typeof module === 'object' && module.exports ``` will raise an exception if `module==null`. They should be changed to ```javascript typeof module === 'object' && module && module.exports ```