var deletedMap = Object.keys(dependentDbs).map(function(name) { 
      return PouchDB.destroy(name, {adapter: backend.adapter});
    });
   Promise.all(map).then(destroyDb, function(error) { callback(error); });

?