Turns out I was referencing an online version of the canvasjs.min.js file in my layout instead of the correct one in my scripts folder. Thanks for your help!