Update circle.class.js

Simplified circle class.
Fixed toSvg method.