title: Problems with Datepicker format in JS
body: <p>I want to format my datepicker but does not work. Nothing at all happens. Can anyone see what is wrong?</p>
  
  <pre><code>&lt;link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" /&gt; 
  &lt;script src="//code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="/resources/demos/style.css" /&gt;
  &lt;script src="myJS.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;input id="datepicker" type="text" /&gt;
  </code></pre>
  
  <p>In my JS-file:</p>
  
  <pre><code>$(document).ready(function () {
      $(function () {
          $("#datepicker").datepicker({
              monthNames: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
              dayNamesMin: ["Sön", "Mån", "Tis", "Ons", "Tors", "Fre", "Lör"],
              dateFormat: "yy-mm-dd",
              firstDay: 1,
          });
      });
  });
  </code></pre>