title: $(...).tagit is not a function
body: <p>i got an issue with tagit plugin, I can't use it I always got the error <code>$(...).tagit is not a function</code>. Jquery and Jquery Ui are included in my footer and tagit is included in the body. I have jquery ui 1.12.0 min and jquery 2.2.4 min. 
  So if anyone already got this error with this plugin or any other plugin I could use some help. Thanks</p>
  
  <p>I have my main page which include the javascript so:</p>
  
  <pre><code>&lt;ul id="tags"&gt;
      &lt;!-- Existing list items will be pre-added to the tags --&gt;
      &lt;li&gt;Tags&lt;/li&gt;
  &lt;/ul&gt;
  &lt;script src="&lt;?php echo asset_url("js/ActiviteComplet.js");?&gt;" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And ActiviteComplet.js:</p>
  
  <pre><code>window.addEventListener('load', initEventHandler, false);
  
  function initEventHandler()
  {
      var availableTags = [
          "testa",
          "btest"
      ];
      $("#tags").tagit({
          autocomplete: {delay: 0, minLength: 2, source: availableTags}
      });
  }
  </code></pre>
  
  <p>And finally everything else is included in my footer:</p>
  
  <pre><code>&lt;script type="text/javascript" src="&lt;?php echo asset_url("js/jquery-2.2.4.min.js"); ?&gt;"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="&lt;?php echo asset_url("js/jquery-ui.min.js"); ?&gt;"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="&lt;?php echo asset_url("js/bootstrap.min.js"); ?&gt;"&gt;&lt;/script&gt;
  &lt;script src="&lt;?php echo asset_url("js/tag-it.js");?&gt;" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Console error output:</p>
  
  <pre><code>ActiviteComplet.js:9 Uncaught TypeError: $(...).tagit is not a functioninitEventHandler @ ActiviteComplet.js:9
  </code></pre>