Add CommonJS/Browserify support
Merge pull request #3 from markgoodyear/master

Add CommonJS/Browserify support