Add commonJS to UMD definition

For browserify compatiblity
Merge pull request #437 from joeybaker/dev

Add commonJS to UMD definition