I'm in the process of rebuilding my website in the laravel framework, using the SB admin 2 template. This template includes a file called frontend.js which is for the menu among other things. The file can be seen here: https://github.com/start-laravel/sb-admin-laravel-5/blob/master/public/assets/scripts/frontend.js
In my old site, I used a few Highcharts, and I want to use them in the new one too. In the old site, I used a script like this: https://jsfiddle.net/do0gm917/
and in the header I have:
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
When I try to do the same in the new site, I get this error: Uncaught TypeError: $(...).highcharts is not a function
I noticed that when I remove frontend.js, the highcharts works fine, so the problem is not in the highchart code itself, but apparently the two scripts do not like to work together.
My Javascript knowledge is pretty limited, and since the frontend.js file is 15324 I have no clue how I can debug this problem. Any ideas?