Save hashes to sessionStorage