Store health in localStorage.