Pouchdb replication library w/ test...index html could stand cleaning up

What's the point of timeSlots? The variable is local so no one outside of the function can see it and the only thing we do to it is increment it. I don't see it used for anything else.