udpates indexedDB shim.
Merge pull request #148 from andygup/update_indexeddb_shim

udpates indexedDB shim.