$.indexeddb(db).objectStore(objectStore).get(primaryKey).then(wrap, err);