xhr streaming working mostly