Added callbacks for the HTML control elements for the parametric curve.