title: Javascript CountDown showing NaN
body: <p>i have been working on my own costum Javascript Countdown for multiple countdowns at the site.</p>
  
  <p>But i am facing problems. The date doesn't count correctly.</p>
  
  <p>It works perfectly in Google Chrome, but in Firefox it just says NaN.</p>
  
  <p>Can someone tell me what's wrong with me code?</p>
  
  <pre><code>function countdown(date, span){
      today = new Date();
  
      BigDay = new Date(date);
      msPerDay = 24 * 60 * 60 * 1000 ;
      timeLeft = (BigDay.getTime() - today.getTime());
      e_daysLeft = timeLeft / msPerDay;
      daysLeft = Math.floor(e_daysLeft);
      e_hrsLeft = (e_daysLeft - daysLeft)*24;
      hrsLeft = Math.floor(e_hrsLeft);
      minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);
      secLeft = Math.floor( 60 - today.getSeconds() );
  
      $("#"+span).html("&lt;ul class='dayTime'&gt;&lt;li&gt;&lt;small&gt;" + daysLeft + "&lt;/small&gt;&lt;span&gt;Dage&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;small&gt;" + hrsLeft +"&lt;/small&gt;&lt;span&gt;Timer&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;small&gt;" + minsLeft + "&lt;/small&gt;&lt;span&gt;Min&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;small&gt;" + secLeft + "&lt;/small&gt;&lt;span&gt;Sek&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;");
   }
  </code></pre>
  
  <p>I am running the code like </p>
  
  <pre><code>  countdown("2013-05-30 00:00:00", "container");
  </code></pre>