The element/div you are trying to render the chart to is missing,
can you share the json
that is printed in the console? Additionaly, if you can add the following more logs to give us a better understanding of the picture.
A standard set of logs that I would use to troubleshoot highcharts error #13 are
console.log("JSON: " + JSON.stringify(chartingOptions));
console.log("Render to element with ID : " + chartingOptions.chart.renderTo);
console.log("Number of matching dom elements : " + $("#" + chartingOptions.chart.renderTo).length);
These should be added just before calling the Highcharts constructor
chart = new Highcharts.Chart(chartingOptions);
If all is well you should see the correct element ID, and length as 1.
Troubleshooting highcharts error # 13 | Highchart & Highstock @ jsFiddle
Here is the log that is seen for the demo above
JSON: {"chart":{"renderTo":"container"...}}
Render to element with ID : container
Number of matching dom elements : 1