From a purely mechanical point of view, I have two immediate suggestions: 1) allow people to quickly get back in the game without having to refresh the web page 2) don't assume everyone has WASD keys in the same place that you do. A simple solve for that problem is to let the player use arrow keys in addition to WASD