Refactored to use _lsStore and _htmlStore.