If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
The alien waves are never-ending & constantly growing
Use the mouse to aim & click to shoot. Press R to reload. Press 1 and 2 to switch between guns. Press Q to melee.