I want to say this can simply be a function:

```
function mozSearchStorage(options) {
  // any vars or internal functions

 // the return an object with methods you want
 return {
    serialize: function() {  },
    // .... more
  }
}
```
And instead of calling that method in "results.html", can we add a classname to the `<body>` which should singal that storage should be flushed?