chess.js trimmed down with chess960 support, for lichess.org