Touchdb.on(ready) and .on(change)