make data persist in browser using indexeddb/level-js