change on morrisjs for charts because amcharts now draw in foreach cycle