fixed javascript linking that includes tooltip on chartjs