Adjust export for Common.js Node-like environments.
Merge pull request #27 from djfarrelly/master

Adjust export for Common.js Node-like environments.