Support AMD and CommonJS out of the box
Merge pull request #537 from spikebrehm/support-all-the-modules

Support AMD and CommonJS out of the box