Fixes due to deprecated db.on.error
Fixes due to deprecated db.on.error

jimmywarting/Dexie.js,dfahlander/Dexie.js,chrahunt/Dexie.js,chrahunt/Dexie.js,dfahlander/Dexie.js,dfahlander/Dexie.js,dfahlander/Dexie.js,jimmywarting/Dexie.js,jimmywarting/Dexie.js,chrahunt/Dexie.js,jimmywarting/Dexie.js,chrahunt/Dexie.js