Implement commit() for IndexedDB