updated indexedDB polyfill & updated to use indexedDB.polyfill to check if browser is using the polyfill.