add module definition for CommonJS / browserify

see http://dontkry.com/posts/code/browserify-and-the-universal-module-definition.html