fix cbl-replication.js with CB cluster