Isn’t the logic the wrong way round now? I was just expecting this:

```js
if (!(Modernizr.indexddb && Modernizr.indexeddb.deleteDatabase)) {
  return false;
}

// Then the rest
```