I seem to be getting a security error when I try to play online.
According to https://html.spec.whatwg.org/multipage/webstorage.html#dom-sessionstorage-dev
The error is thrown as it returns 'null' (opaque origin) instead of returning a tuple. Programming is hard. Just thought I'd share in case you wanted to know.