Fixes for example/cordova