moved indexeddb shim to the top