Cleaned up removed IndexedDB function