a smallish turn-of-the-century javascript chess engine