Make work in browser using new indexdb adapter