Added IndexedDB support