Alternatively:

```
if (storageAdapter in window)
   this.storage = new StorageAdapter(this.modelName, window[storageAdapter]);
```