Call library methods only when ready
Fix for IndexedDB InvalidStateError in Firefox Private Browsing mode. Requires async checking for driver support.