The game is made with Ink and Atrament.
Ink is inkle's scripting language for writing interactive narrative: https://github.com/inkle/ink
Atrament is my wrapper for Ink, written in JavaScript (UI part uses Preact for rendering): https://github.com/technix/atrament-ui
Having all power of JS at hands, you can do whatever you want :)