In the web version at least, restarting is bugged.
I climbed to the top floor and got an ending, and the restart button didn’t seem to be clickable.
I sat and watched through the window until I got an ending, clicked restart, and pressed space to skip the intro—but pressing space restarted the intro each time, no matter how many times I pressed it. Sit through the cutscene and the game freezes on jumping.
I escaped and got an ending, and there was no restart button.
Refrshing the browser page works in all cases.