title: Meteor countdown timer jquery not updating
body: <p>Countdown timer in jquery not updating when we update in Meteor.The function written in the helper.Please find the bellow code.</p>
  
  <pre><code>var countdown =  setInterval(function()
          {
              $("#getting-started" + id).countdown(newdate, function (event) 
              {
                  if (Number(event.strftime('%D')) &lt; 2) {
                      $("#getting-started" + id).addClass('timerred');
                  }
                  else {
                      $("#getting-started" + id).addClass('timergreen');
                  }
  
                  $("#getting-started" + id).text
                  (
                      event.strftime('%D days %H:%M:%S')
                  );
              });
          }, 1000);
  </code></pre>