instrumenting line-plot.js and line_plot.d3.html