Removes unneeded (and commented) use of the XMLHttpRequest object