Story 49873479: Basic global error handling for AJAX and JS errors dumping out to flash messages