Update CurveDrawer.js

Still trying to make labels. Not quite working.