adding ajax call to heatmap. incomplete