adds ajax to donut chart table