Add partially support for sessionStorage