fix XMLHttpRequest for Node