Fix AJAX refreshing on IE