paid attention to xhr ready state