CommonJS support.

UMD wrapper taken from [here](https://github.com/umdjs/umd/blob/master/returnExports.js#L41).

It would be great if you could also push it to npm registry.