Some refactoring: added $.fn.addSvgClass, $.fn.removeSvgClass and $.fn.toggleSvgClass. Also removed useless jquery extension $.fn.equals.