Yes. You'll either need another if() or inline idx:

~~~
var idx;
if (this._listeners[name] && ~(idx = this._listeners[name].indexOf(cb))) {
~~~