title: Safari crashes when using jQuery datepicker with Google Apps Script
body: <p>I'm trying to use the jQuery datepicker on a Google Apps Script with HTML Service.</p>
  
  <p>Code.gs</p>
  
  <pre><code>function doGet() {
    var template = HtmlService
                   .createTemplateFromFile('Page');
  
    var htmlOutput = template.evaluate()
                     .setSandboxMode(HtmlService.SandboxMode.NATIVE)
                     .setTitle('Test Me');
  
    return htmlOutput;
  }
  </code></pre>
  
  <p>Page.html</p>
  
  <pre><code>&lt;link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" /&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    $(function() {
      $( "#datepicker" ).datepicker();
    });
  &lt;/script&gt;
  &lt;div&gt;
    &lt;p&gt;Date: &lt;input type="text" id="datepicker"&gt;&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Hosted Script</p>
  
  <blockquote>
    <p><a href="https://script.google.com/d/1CWo9EonsNtS7Q4nYrhIWmtniMqnsUmWcxyusheGV5EO1EwEwNmPXCvzx/edit" rel="nofollow">https://script.google.com/d/1CWo9EonsNtS7Q4nYrhIWmtniMqnsUmWcxyusheGV5EO1EwEwNmPXCvzx/edit</a></p>
  </blockquote>
  
  <p>Webapp</p>
  
  <blockquote>
    <p><a href="https://script.google.com/macros/s/AKfycbzCSzU6ErMtizMWvI5hBI1TIX0Fhj86_OTyvD16rdDM4jCk1obn/exec" rel="nofollow">https://script.google.com/macros/s/AKfycbzCSzU6ErMtizMWvI5hBI1TIX0Fhj86_OTyvD16rdDM4jCk1obn/exec</a></p>
  </blockquote>
  
  <p>Everything works well on Firefox and Chrome. But when I click on the input field on Safari, the browser crashes. Any insight?</p>