the game of go in javascript