Localstorage fallback for legacy app