improves XMLHttpRequest