Too much nesting, my head hurts. Store things as local variables. Also, you know the type of the response because you told it.
```
var bytes = new Uint8Array(/** @type {ArrayBuffer} */ (xhr.response));
wtf.db.load(bytes, function(db) {
});
```