support while
browserify and dist the bundle.js