added a small JS version of the game