I am not sure how to play this game, but I can give advice for the issues of the arrow keys: after processing a key press, you need to do e.preventDefault() on the keypress event to stop the browser from scrolling the page around.
I am using the latest version of FireFox on Linux.