a few tweaks based on the latest cordova updates