Added ajaxSetup error function