replace indexedDB dependency with preps/indexeddb