Once again updating docId -> id.
Fixing sync-engine.js test.