add suport to a new version of IndexedDB.
Modified BrowserDB to select the new type