Ok I might be a week or something late to the party, but I wanted to see if JVM solutions can be easily ported to the browser, and lo and behold, they can. Almost copy-paste 🙂
here, enjoy my awesome frontend skills at
https://jakubgwozdz.github.io/JSTry104/cryostasis.html (last puzzle partial solution)