Add support for latest cordova SDK