update chart to new js lib?!