Esc is tied to quit and space/enter are tied to starting the game. I put those in to make dev easier and should have disabled them for the web version. So it's just calling the start function every time someone pressing a ui_accept button :P