title: Meteorjs - undefined function for ignite ui plugin
body: <p>Getting the following error </p>
  
  <p>Exception from Tracker afterFlush function: undefined is not a function
  TypeError: undefined is not a function</p>
  
  <pre><code>&lt;head&gt;
  &lt;title&gt;Orion&lt;/title&gt;
  &lt;link href="http://cdn-na.infragistics.com/igniteui/2014.2/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" /&gt;
  &lt;link href="http://cdn-na.infragistics.com/igniteui/2014.2/latest/css/structure/infragistics.css" rel="stylesheet" /&gt;
  
   &lt;!-- JavaScript Library Dependencies --&gt;
   &lt;script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://modernizr.com/downloads/modernizr-latest.js"&gt;&lt;/script&gt;
  
  &lt;!-- Ignite UI Required Combined JavaScript Files --&gt;
  &lt;script src="http://cdn-na.infragistics.com/igniteui/2014.2/latest/js/infragistics.core.js"&gt;&lt;/script&gt;
  &lt;script src="http://cdn-na.infragistics.com/igniteui/2014.2/latest/js/infragistics.dv.js"&gt;&lt;/script&gt;
  &lt;script src="http://cdn-na.infragistics.com/igniteui/2014.2/latest/js/infragistics.lob.js"&gt;   &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;template name="currencyData"&gt;
  &lt;div class="container"&gt;
  &lt;div id="gridChartContainer"&gt;
  &lt;table id="grid"&gt;&lt;/table&gt;
  
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>Template.currencyData.rendered = function() {
  if (this.find("#grid")) console.log("Found the grid");
  
  this.find("#grid").igGrid({
  width: "100%",
  dataSource: currencyData,
  autoGenerateColumns: true,
  });
  }
  </code></pre>