title: jQuery Datepicker set default value from date?
body: <p>Lets consider the following input: </p>
  
  <pre><code>04/2014
  </code></pre>
  
  <p>4 being the month</p>
  
  <p>Now I want to set the default date for jquery datepicker, so I have something like this: </p>
  
  <pre><code>$( '.date_picker' ).datepicker( {
      changeMonth: true,
      changeYear: true,
      showButtonPanel: true,
      dateFormat: 'mm/yy',
      yearRange: "-70:+10",
      defaultDate:  new Date($(this ).val().slice(-4), $(this ).val().substring(0, 2), 1),
      onClose: function(dateText, inst) {
  
      }
  } );
  </code></pre>
  
  <p>With the before mentioned value, the new date function returns: </p>
  
  <pre><code>Thu May 01 2014 00:00:00 GMT+0200 (CEST)
  </code></pre>
  
  <p>So the question is, why does the datepicker jumps to Jan 1946?</p>