I think I've already commented on this function before.

Should be:

```js
var modes = capabilities.isoModes;
if (modes && modes.indexOf(value) > -1 ) {
```