title: JavaScript variable assignment not working
body: <p>I have run in to a stupid problem...
  I declared a new variable called leadingZero. I save the modified .js file and run the project with a breakpoint on the leadingZero assignment and in watcher window it says its undefined after passing this line, but all the other declarations here are working fine and I can see the assigned values. needless to say the getObject call does not work now.</p>
  
  <pre><code>var leadingZero = 0; //new variable
  var chkActive; 
  var chkSubscribe; 
  var hdnItem = getObject('hdnItemCounter');
  var ItemCount = parseInt(hdnItem.value) + 1;
  
  for (intCounter = 2; intCounter &lt;= ItemCount; intCounter++) {
    chkActive = getObject('dgrProductList_ctl0' + leadingZero + intCounter + '_chkActive');
  }
  </code></pre>