replacing init with init_b
replacing cordova.js and init.js with their browserify-compatible equivalents