Syntax error. Help with one small JS snippet :(
<p>Hey guys. I don't know much JS, but I wanted to do some quick work with jQuery.</p>

<p>But I've been staring at this for about an hour and I don't understand what I missed:</p>

<pre><code>&lt;script type="text/javascript"&gt;
    $('#qty_6035').change(function () {
        var substractedQty, stockQty, remQty;
        substractedQty = (int) $('#qty_6035').val(); // missing ; before statement 
        stockQty = (int) $('#orig_qty_6035').val();
        $('#rem_qty_6035').html(stockQty-substractedQty);
    });
&lt;/script&gt;
</code></pre>

<p>jQuery library is included at the beggining of the document.</p>

<p>Thanks.</p>
