Update linechart.js