Added global AJAX settings, basically just for error handling.