The original code
Move the renderChart function to the chart.client.view.js

Move the renderChart function to the chart.client.view.js