testChessGame with js and node.js