Really cool idea, you need to remove the exit button from the web build as it breaks the game.
Note that if you hit the exit button on a game, the game will, therefore, exit (in computer science aka.: auto-destroy).