Create Curve.js