update to latest chess.js api