Cross-browser compatibility for SVG class manipulation and placeholder text.