Add universal module definition

So that it will work with script loading, [require.js](http://requirejs.org/), and browser CommonJS systems like [Mr](https://github.com/montagejs/mr).