$.indexeddb(db).objectStore(objectStore).openCursor().deleteEach(function (value, key)
                                 {
                                     return isDuplicate(value);
                                 });