I\'m trying to remove special characters that could appear within my Google Analytics tags, as the special characters seem to be causing script errors in some versions of IE
The problem is not the function itself, it comes from somewhere else. Proof: http://jsfiddle.net/wDaCw/