complete onclick function
bug caused by importing wrong highcharts js file!