living chess diagrams in Javascript