title: jQuery date picker does not work after refresh the page
body: <p>I am using jQuery datepicker. It is okay, when i ran my project in Firefox browser from localhost. After some time, When i refresh Firefox again nothing displayed of the jQuery datepicker. </p>
  
  <p>After i ran it chrome it's okay but refresh again it's gone . But when i ran it from other location(Desktop) except localhost it's work properly
  Here is my  .....</p>
  
  <pre><code>&lt;div class="col-md-7 col-sm-7 col-xs-12 date-area-left"&gt;
   &lt;label class="date-label" for="username"&gt;Choose a Date : &lt;span class="star-icon-choose"&gt;*&lt;/span&gt;&lt;/label&gt;
   &lt;div style="width: 280px; font-family: 'Arial'; margin: auto;"&gt;
      &lt;div class="some_datepicker" style="display: block"&gt;&lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And here is JS....</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>        &lt;script type = "text/javscript&gt;
               // Localization
  
              jQueryDatepicker.day_names_short = {
                1: 'Mon',
                2: 'Tue',
                3: 'Wed',
                4: 'Thu',
                5: 'Fri',
                6: 'Sat',
                7: 'Sun'
              };
  
              jQueryDatepicker.day_names = {
                1: 'Monday',
                2: 'Tuesday',
                3: 'Wednesday',
                4: 'Thursday',
                5: 'Friday',
                6: 'Saturday',
                7: 'Sunday'
              };
  
              jQueryDatepicker.month_names = {
                1: 'January',
                2: 'February',
                3: 'March',
                4: 'Apri',
                5: 'May',
                6: 'June',
                7: 'July',
                8: 'Agust',
                9: 'September',
                10: 'October',
                11: 'November',
                12: 'December'
              };
  
              $(document).ready(function() {
                var $selected = $('.selected');
  
                $some_datepicker = $('.some_datepicker');
  
                $some_datepicker.datepicker({
                  next_button: '&amp;gt;',
                  prev_button: '&amp;lt;'
                });
  
                $some_datepicker.setStartDate({
                  year: 2015,
                  // jquery.datepicker accepts first month as 1
                  // (built-in Date() class accepts first month as 0)
                  month: 1,
                  day: 3
                });
  
                $some_datepicker.on('date_selected.datepicker', function(event, date) {
                  $selected.show().html('Selected date is: ' + date.date.toString());
                });
              });
      &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>