Export a module correctly for Browserify/Webpack support, related to #6