Fixed isolated XMLHttpRequest since sinon can overwrite it