Update:
I now get the error: CanvasJS not defined when debugging. I already included jquery in the wp_enqueue_script but it seems that doesnt do anything.