Add AJAX error handling to readme