Added settings to error ellipse chart

Added settings to error ellipse chart, refactored scatterplot, and added
transaction syntax for JavaScript.