Use .textContent instead of .innerHTML for SVG nodes (fixes IE)