This could be merely:

```javascript
}, deferred.notify);
```