It is in a similar vein to this: http://andrewphoy.github.io/chess-replayer/. (Which is more full-featured.)
https://github.com/oakmac/chessboardjs/blob/master/README.md
I have an issue to build an example that demonstrates integration with chess.js and only allows legal moves (https://github.com/oakmac/chessboardjs/issues/19)