postmortem: add main.js. start scripting d3 table.