More work on indexedDB