title: Compare dates with javascript
body: <p>I have two dates in javascript:</p>
  
  <pre><code>var first = '2012-11-21';
  var second = '2012-11-03';
  </code></pre>
  
  <p>i would like make:</p>
  
  <pre><code> if(first &gt; second){
     //...
   }
  </code></pre>
  
  <p>how is the best way for this, without external library?</p>