Move window.sessionStorage into try catch block.
Merge pull request #35 from nanek/session-storage-security

Move window.sessionStorage into try catch block.