several cordova-specific tweaks