Update CommonJS module registration to check to see if define is a function instead of just not undefined.
Attach a file by drag & drop or click to upload