AJAX request function that includes the old internet explorer browsers