added getSvgRoot()
fixed template creation with cloneNode