ajax load of charts