Improvement: Added a default timeout for AJAX requests to 5 minutes and an AJAX error handler for all requests that will log the error and display a message to the user