This is absolutely fantastic! It'd be useful in browser (non-fullscreen) to have a second key bound as well as space, as space defaults to scrolling when not in a form control in Firefox :)
Hey! Hope you don’t mind me following up on this. I tried recreating the bug in Firefox (on MacOS), and I found that the spacebar doesn’t scroll the page if you’ve clicked inside of the game’s frame. Is it the same for you, or dos yours scroll even after having clicked on the game?