Workaround for className on SVG elements on WebKit.

See this commit for details:
https://github.com/denilsonsa/classList.js/commit/87e93c2178563d840554a42113dedafb567df838