Use ajaxPrefilter with ajaxError

There is no ability to catch parsererror in ajaxError:
https://github.com/jquery/jquery/issues/1819