title: Javascript function is undefined only in IE11
body: <p>I'm trying to use a template but just realized that the javascript doesn't work at all in IE. </p>
  
  <p>It fails in several places but here is the first one:</p>
  
  <p>I have this tag, immediately before my <code>&lt;/html&gt;</code>:</p>
  
  <pre><code>&lt;script&gt;
      document.addEventListener("DOMContentLoaded", function (event) {
          navbarToggleSidebar();
          navActivePage();
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>The exception says, "0x800a1391 - JavaScript runtime error: 'navbarToggleSidebar' is undefined occurred"</p>
  
  <p>The javascript file that came with this template was minimized as uses some cracy javascript markup that I've never seen and do not understand. But when I do a find in the whole solution for navbarToggleSidebar I only find this:</p>
  
  <pre><code>JkW7: function (t, e, n) {
              "use strict";
              Object.defineProperty(e, "__esModule", {
                  value: !0
              });
              var i = (n("PExH"), n("juYr"), n("6wzU"), n("e9iq"), n("aWFY"));
              ! function (t) {
                  t.keys().map(t)
              }(n("pax0")), Object.assign(window, {
                  masonryBuild: i.a,
                  navbarToggleSidebar: i.c,
                  navActivePage: i.b
              })
          },
  </code></pre>
  
  <p>I can post the whole file somewhere (just tell me where, it's too long to paste here) if that's helpful because this is clearly just a piece of a huge js thing that I don't understand at all. I like to think I'm fairly decent with js and jquery and this looks greek to me. And it all works beautifully in Chrome and FF.</p>
  
  <p>Can anyone help me figure out what's going on?</p>
  
  <p>Thanks!!</p>