AJAX fail function.