Update line-chart.js

Reintroduced click handler from v0.1