[fix] new XMLHttpRequest always returns an object
Merge pull request #281 from 3rd-Eden/master

[fix] new XMLHttpRequest always returns an object