Switch from localStorage to hr.Storage