Isn't it best to wrap this in
```JavaScript
if(config.switches.mediaMath) {
// Do stuff...
}
```
This isn't very defensive, e.g. if for some reason the switches don't load, this would run.