Added a timeout on AJAX get calls.