Improve BEMTREE error handling

As discussed #594
I suggest to avoid `.bind()` — just
```js
var _this = this;
function restore(response) {
    _this._mode = mode;
    ...
}
```