The function overhead isn't needed. Declare a variable instead at the top scope
```js
var = window.innerWidth || $document.width();
```