fix 'module.exports' for browserify support

Small fix for supporting the latest version of browserify tool.