CouchDB replication helpers #node