make it browserify compat