Opening indexeddb from a worker