temporary wrap exports for browser (see
http://caolanmcmahon.com/posts/writing_for_node_and_the_browser/). We
may want to use Browserify. I thougth requirejs would handle require()
for module.exports, but i was wrong