catching xhr-errors

in FF, the adblocker extension blocks requests so that the onreadystatechange-handler is not called, rather a very stupid error is thrown