Added export to global object in non-CommonJS.
Merge pull request #2 from RReverser/master

Added export to global object in non-CommonJS.