include indexeddbstore library in component instead of depending on it