Create panel-curve.js