Fixing to meet phonegap instead of cordova