While not strictly necessary, this is the perfect use case for the ternary operator:
```js
var text = L.util.clean(this.get(this.get('searchState') ? 'searchText' : 'text') || '');
```
You might also want to put this in it's own function.