saveAs is not defined when using JSzip : <p>I am getting an error when trying to do a simple jszip </p>

<blockquote>
  <p>Uncaught (in promise) ReferenceError: saveAs is not defined</p>
</blockquote>

<p>Pretty sure I included all of the correct files so I am not sure what I am doing wrong, could someone please enlighten me?</p>

<pre><code>    &lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Download&lt;/title&gt;
    &lt;link rel="stylesheet" href="css/download.css"&gt;
    &lt;script type="text/javascript" src="jszip/dist/jszip.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="https://stuk.github.io/jszip-utils/dist/jszip-utils.js"&gt;&lt;/script&gt;
    &lt;script src='https://code.jquery.com/jquery-2.2.4.min.js'&gt;&lt;/script&gt;
    &lt;script src="js/download.js"&gt;&lt;/script&gt;
    &lt;link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet"&gt;
  &lt;/head&gt;

  &lt;body&gt;
  &lt;div class="maindiv"&gt; 
    &lt;header&gt;
      &lt;a href="index.html" class="company"&gt;Instasample&lt;/a&gt;
      &lt;a href="login" class="login"&gt;Login&lt;/a&gt;
    &lt;/header&gt;
    &lt;div class="soulection"&gt;
    &lt;button id="kick" onclick="download(this.id)" &gt;kick&lt;/button&gt;
    &lt;button id="snare" onclick="download(this.id)" &gt;snare&lt;/button&gt;
    &lt;button id="hat" onclick="download(this.id)" &gt;hat&lt;/button&gt;
    &lt;button id="open hat" onclick="download(this.id)" &gt;open hat&lt;/button&gt;
    &lt;button id="rim" onclick="download(this.id)" &gt;rim&lt;/button&gt;
    &lt;button id="perc" onclick="download(this.id)" &gt;perc&lt;/button&gt;
    &lt;button id="tom" onclick="download(this.id)" &gt;tom&lt;/button&gt; 
    &lt;button id="clap" onclick="download(this.id)" &gt;clap&lt;/button&gt;
    &lt;button id="foley" onclick="download(this.id)" &gt;foley&lt;/button&gt;
    &lt;button id="ambient" onclick="download(this.id)" &gt;ambient&lt;/button&gt;
    &lt;button id="effects" onclick="download(this.id)" &gt;effects&lt;/button&gt;
    &lt;button id="vocal" onclick="download(this.id)" &gt;vocal&lt;/button&gt;
    &lt;button id="synth" onclick="download(this.id)" &gt;synth&lt;/button&gt;
    &lt;button id="808" onclick="download(this.id)" &gt;808&lt;/button&gt;
    &lt;button id="bass" onclick="download(this.id)" &gt;bass&lt;/button&gt;
    &lt;button id="sample" onclick="download(this.id)" &gt;sample&lt;/button&gt;
    &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  &lt;script type="text/javascript"&gt;
    (function () {
  var zip = new JSZip();
  zip.file("Hello.txt", "Hello world\n");

  function bindEvent(el, eventName, eventHandler) {
    if (el.addEventListener){
      // standard way
      el.addEventListener(eventName, eventHandler, false);
    } else if (el.attachEvent){
      // old IE
      el.attachEvent('on'+eventName, eventHandler);
    }
  }

  // Blob
  var blobLink = document.getElementById('kick');
  if (JSZip.support.blob) {
    function downloadWithBlob() {
      zip.generateAsync({type:"blob"}).then(function (blob) {
        saveAs(blob, "hello.zip");
      }, function (err) {
          blobLink.innerHTML += " " + err;
      });
      return false;
    }
    bindEvent(blobLink, 'click', downloadWithBlob);
  } else {
    blobLink.innerHTML += " (not supported on this browser)";
  }

})();
  &lt;/script&gt;
&lt;footer&gt;
  &lt;a href="mailto:garvernr@mail.uc.edu?Subject=Hey%20Instasample" class="bottom"&gt;contact&lt;/a&gt;
  &lt;t class="bottomline"&gt;&amp;nbsp;|&amp;nbsp;&lt;/t&gt;
  &lt;a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=5LC9QK23C9M28" class="bottom2"&gt;donate&lt;/a&gt;
  &lt;t class="bottomline"&gt;&amp;nbsp;|&amp;nbsp;&lt;/t&gt;
  &lt;t class="bottom3"&gt;&amp;copy 2016&lt;/t&gt;
&lt;/footer&gt;

&lt;/html&gt;
</code></pre>
