Support UMD in main module.
"require" must be a single word and a variable. Example: only detect "require('id')", not "goog.require('id')".