title: extend jquery-ui-datepicker with a new option
body: <p>Need your help here.</p>
  
  <p>I'm trying to figure out how to properly extend datepicker with new option. For example I want the "setDate" option. </p>
  
  <p><strong>Here how should it look like:</strong></p>
  
  <pre><code>$('#datepicker').datepicker({
    setDate: function(){
      return new Date().getTime(); // or any timestamp value
    }
  });
  </code></pre>
  
  <p>As a result my <strong>datepicker should be initialized this date value by default.</strong></p>
  
  <p>I know that I simply can do:</p>
  
  <pre><code>var curr_date = new Date().getTime();
  $('#datepicker').datepicker('setDate', curr_date);
  </code></pre>
  
  <p>But <strong>what I really want is to extend</strong> a datepicker with a custom option.</p>