Successfully split up code in home.js file and put donut chart related code into donut.js file.