Nit: we're inconsistent about this, but it's useful to name functions, even when they're methods of objects, as in this case, because debuggers aren't always able to identify the function by method name, i.e.:

```
      onBadContentType: function onBadContentType() {
```