`this.clearCompleted` is rewritten.

Original:

```js
this.clearCompleted = function () {
    var todos;

    dataStore.destroyAll({ completed: true });
    todos = dataStore.all();
    this.trigger('dataClearedCompleted', { todos: todos });
};
```

The `clearCompleted` event triggers a filter event, based on the active filter.