javascript timed function - expected identifier
<p>I am having a problem with a simple script that is supposed to update a page with some values(user input) that are turned from monthly to yearly (the numbers go into numeric fields created by confirmIT)</p>

<pre><code>&lt;script&gt;
function update() {
  for (var i = 0; i &lt; 9; i++) {
    var ans = parseInt(document.getElementById("bq10a_" + i).value, 10);
    if (!isNaN(ans)) {
      var new = ans * 12;
      document.getElementById("bq10a_" + i + "calc").value = new;
    }
  }
}
return;
}

setInterval("update()", 1000);    
&lt;/script&gt;
</code></pre>

<p>this yields an Expected identifier error on line</p>

<pre><code>var new = ans*12;
</code></pre>

<p>and i would appreciate any help on how to solve it</p>
