I am trying to use Chart.js in my HTML document(main.html) by calling the the javascript function form a separate javascript file (home.js). The HTML looks as follows: