Checked for module.exports for global

using module.exports for global for browserify env