set up to work client-side only with browserify