Consider using a defined constant like
```javascript
var MAX_ZOOM = 20
```