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

It's a good habit in Javascript (I believe) to prefix internal method names with "_" just so that someone trying to use the file understands which methods they are supposed to be looking at and which ones they can ignore. Sigh.. I really wish we were using TypeScript. But next time.

Note: This is not a blocking issue.