Taking out obsoleted sessionStorage code