redo the html figures with node.js for markdown support, add Figure 3.4