Highcharts is not defined.

I have created a graph widget. I am so surprised that this error is not coming when I am running the application from locally. This error is coming when I am running it from server.   Error message in browser console: lineNumber: 15577 (Even this number of lines are not there in my code or even in highcharts.js file). message : "Highcharts is not defined".  
1 answers

Do you have the code for this widget somewhere on Github? It sounds to me it will be loaded as a global variable in the page, which most of the times works fine locally. Yet, when you run it on the cloud, it will be bundled together with all other widgets. External libraries might not me working in the cloud.