browserify in cordova and good practice