why not
```javascript
if (console && console.error) {
    for (id in this.tasks) {
                    task = this.tasks[id];
                    if (task.pushed && !task.displayed) {
                        console.error(task.id + ' remained undisplayed.');
                    }
                }

}

```