added xhr docs