repaired implementation for XHR contructor to work independently of a possibly present mocking framework, resolved infinite loop error
Merge pull request #19 from BendingBender/master

Infinite loop upon creation of new XMLHttpRequest Object