Chart.js library and Reset Chart button bug