Fix for websites having a global variable named "exports"

SnapEngage sets a global variable named "exports" to the window object. On pages like these, PubSub breaks with error
`Uncaught ReferenceError: module is not defined `.