this.onerror.bind(this) when not attaching to `this`