Make module play nice with browserify