code: function overwriteBrowserStorage(){
      if((browser && store) || storageMock){
        var db = cache;
        try {
          db = JSON.stringify(db);
          store.setItem(storageKey, db);
        } catch (err) { /* Do nothing */ }
      }
    }
docs: Overwrite namespaced browser storage with current cache