title: Uncaught TypeError: undefined is not a function when using highcharts
body: <p>When i try to use the simple highcharts example, I get the error:</p>
  
  <pre><code>Uncaught TypeError: undefined is not a function 
  </code></pre>
  
  <p>In addition to :</p>
  
  <pre><code>TypeError: undefined is not a function
  at Object.Ya.init (https://code.highcharts.com/highcharts.js:190:496)
  at Object.Ya (https://code.highcharts.com/highcharts.js:15:312)
  at HTMLDocument.eval (eval at &lt;anonymous&gt; (https://localhost:3000/bower_components/jquery/dist/jquery.js:330:5), &lt;anonymous&gt;:4:15)
  at fire (https://localhost:3000/bower_components/jquery/dist/jquery.js:3073:30)
  at Object.self.add [as done] (https://localhost:3000/bower_components/jquery/dist/jquery.js:3119:7)
  at jQuery.fn.ready (https://localhost:3000/bower_components/jquery/dist/jquery.js:3352:25)
  at jQuery.fn.init (https://localhost:3000/bower_components/jquery/dist/jquery.js:2794:16)
  at jQuery (https://localhost:3000/bower_components/jquery/dist/jquery.js:76:10)
  at eval (eval at &lt;anonymous&gt; (https://localhost:3000/bower_components/jquery/dist/jquery.js:330:5), &lt;anonymous&gt;:1:1)
  </code></pre>
  
  <p>My code is the simple example on the highcharts website:</p>
  
  <pre><code>  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <pre><code>&lt;script&gt;
  $(function () {
  
    $('#container').highcharts({
      chart: {
        type: 'bar'
      },
      title: {
        text: 'Fruit Consumption'
      },
      xAxis: {
        categories: ['Apples', 'Bananas', 'Oranges']
      },
      yAxis: {
        title: {
          text: 'Fruit eaten'
        }
      },
      series: [{
        name: 'Jane',
        data: [1, 0, 4]
      }, {
        name: 'John',
        data: [5, 7, 3]
      }]
    });
  });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>I've also tried the version where the first line inside is </p>
  
  <pre><code>var chart = new Highcharts.Chart({
  </code></pre>
  
  <p>When I print out what Highcharts is, it goes give me the right object. jQuery is loaded and working. 
  What else can I try at this point?</p>