Updated code to check if db exists prior to opening it.
Updated code to check if db exists prior to opening it.

dfahlander/dexie.js-web,dfahlander/dexie.js-web,dfahlander/dexie.js-web,dfahlander/dexie.js-web