Compare localStorage and IndexedDb