Add support for CommonJS module definition
Merge pull request #409 from BrettBukowski/commonjs

Add support for CommonJS module definition