Fix cordova reference