a nice IndexedDB api for co