title: jade not executing javascript functions
body: <p>I have this jade file</p>
  
  <pre><code>- if (transactions != "")
      table
          th Site Name
          th Deadline
          th Delete Transaction
  
          each item in transactions
              tr
                  td= item.item_name
                  td
                      span(id='countdown'+item.timeout)= item.timeout
                  td
                      span(style='cursor: pointer;', onclick='deleteTransaction('+item.uniqueId+')')= "X"
  
      button(id='confirmButton', onclick='confirm();', value="Confirm", name="Confirm")= "Confirm"
      script
          fillCountdown(transactions);
  </code></pre>
  
  <p>I don't understand why the function <code>fillCountdown</code> in the last line is never called. I have to say that this page is loaded in a Chrome extension, in the popup, but I guess nothing changes.</p>
  
  <p>Can someone help me? Thanks.</p>