chart.js to chart.js.erb