fix is_xhr
readme