yntax cleanup in cbl-replication.js