I'm not sure we need this `delay` function.  I think it can just be:

```javascript
searching = setTimeout(render, options.timeout);