fix IsAjaxRequest check for X-Requested-With