Fixes bug of not recognising XMLHttpRequests
Merge pull request #20 from phavour/bug-xml-http-request

Fixes bug of not recognising XMLHttpRequests