But, your point is well-taken. I prefer one return statement per function. I replaced it with:

```javascript
var registerFunction = isOnce ? self.once : self.on;
return registerFunction.call(self, PHOTOSHOP_EVENT_PREFIX + event, listener);
```