Minor changes to replication -> indexeddb