adding error handling to XHR request

when adblocker extensions block requests, the onreadystatechange-handler is not called, rather a very stupid error is thrown. So we catching it here.
hotfix this