fix #8
Merge pull request #9 from mekto/gh-8

fix setting class attribute on svg elements (#8)