Cordova alerts, minor style fixes