Javascript Error (IE): Object doesn't support this property or method
<p>This code works PERFECTLY in Firefox, and in IE the line ending 'negative'); breaks. I have no idea how to fix it! Argghhh!</p>

<pre><code>$(".topline strong").digits().each(function () {
    s = $(this),
    c = "change";
    if ($(s).hasClass(c) &amp; $(s).text().replace(/%/gi, "") &gt; 0) {
        $(s).addClass("positive");
    }
    if ($(s).hasClass(c) &amp; $(s).text().trim().charAt(0) == "-") $(s).addClass("negative");
});
</code></pre>
