catching xhr-errors

in FF, the adblocker extension blocks requests so that the onreadystatechange-handler is never called but an error is thrown.