incase jQuery.ajax returns a null or undefined jqXHR