add XMLHttpRequest Level 1 support