Update indexeddb.js

No need to create new functions to reject