Error in Javascript code?
<p>What is wrong in this code? it shows an Syntax error in <code>eval(e.text); //run the script</code></p>

<pre><code>  runScripts1: function(e) {
        if (e.nodeType != 1) return false; //if it's not an element node, return

        if (e.tagName.toLowerCase() == 'script') {
            eval(e.text); //run the script
        }
        else {
            var n = e.firstChild;
            while ( n ) {
                if ( n.nodeType == 1 ) forrester.runScripts1(n); //if it's an element node, recurse
                n = n.nextSibling;
            }
        }
        return true;
    },
</code></pre>

<p>Thanks</p>
