We can either just have 

```
var zoomLevel = 100;
var currentPage = 1;
```

and use those or have

```
var state = {
    zoomlevel: 100,
    pagenum: 1
}
```