Better error when Ajax fails
Extract ErrorReporter for Ajax errors
Cleanup

Would be cleaner still to extract a service to wrap making the requests, and to handle errors within that.