jvm.SVGGroupElement = function(){ jvm.SVGGroupElement.parentClass.call(this, 'g'); } jvm.inherits(jvm.SVGGroupElement, jvm.SVGElement); jvm.SVGGroupElement.prototype.add = function(element){ this.node.appendChild( element.node ); };