cordova ajaxSetup bug