Add indexeddb support