remove unecessary private var [chart.js]