[CB-3307] Updating to work with recent changes to cordova.js naming