update chess.js