add JSdoc to linechart.js