JavaScript chart by amCharts 3.20.5undefined