fix setting class attribute on svg elements (#8)