title: Need Help Loading Dat-GUI with Meteor.js
body: <p>I am trying to load Dat-GUI : <a href="https://github.com/dataarts/dat.gui" rel="nofollow">https://github.com/dataarts/dat.gui</a>
  with my meteor project. I added the dat-GUI source in the client/lib folder. 
  Here is my code: </p>
  
  <pre><code>Template.EditorControllbar.rendered = function () {
      var controllBar = document.getElementById('controllbar'),
          gui, folder, controller;
  
      // Create GUI
      gui = new dat.GUI({autoPlace:false});
      controllBar.appendChild(gui.domElement);
  
      // Create folders
      var renderFolder = gui.addFolder('Render'),
      meshFolder = gui.addFolder('Mesh'),
      lightFolder = gui.addFolder('Light'),
      exportFolder = gui.addFolder('Export');
  
  };
  </code></pre>
  
  <p>When I run the server I get the following error:</p>
  
  <pre><code>Exception from Deps afterFlush function function: ReferenceError: dat is not defined
      at Object.Template.EditorControllbar.rendered (http://localhost:3000/client/views/toons/toon_edit/editor_controllbar/editor_controllbar.js?5613eb3f7dfe2c5aed33925dfe2970dcc11a04b4:33:15)
      at http://localhost:3000/packages/ui.js?9419ac08328918a04e7a49464a988d45f851e1b0:439:23
      at _assign.flush (http://localhost:3000/packages/deps.js?4a82362ae66e863a1c1a8b0a5fec6f665e2038d1:348:13) debug.js:4
  </code></pre>
  
  <p>The same code works on codepen though:
  <a href="http://codepen.io/praneybehl/pen/DabKv" rel="nofollow">http://codepen.io/praneybehl/pen/DabKv</a></p>
  
  <p>Does anyone know how can I load Dat-GUI with Meteor.
  Any help will be highly appreciated.</p>
  
  <p>Thanks in advance,
  Praney</p>