Simple javascript 1945 Game