add module definition for CommonJS / browserify

see http://dontkry.com/posts/code/browserify-and-the-universal-module-definition.html
Merge pull request #95 from andrenarchy/master

add module definition for CommonJS / browserify