Rewrite curves_w_2scatter.coffee as a configureable/reusable chart