converted correlation.htm to use scatterplot.js instead of correlation.class