In Progress: transer insertPreviousPlotRows() from plotObservations.js to addPlot.js