adding a listener to the global JQ ajax error