Fix JXG.Curve

We need one last update before the isReal is switched.
Append the unit when initializing the SVG and Canvas dom nodes