If you're comfortable enough, I recommend installing the native OS builds of this game (Windows/Linux). The browser version was mostly untested and many of the controls trigger browser shortcuts (such as closing the game).
If you're unable to download the native versions for any reason, please look at the very first post for the browser-safe controls