to reply, apologetically very late, to your question: the programs were all written in javascript. there is a bit more detail about the approach in a passage at the end of the book.