removing unnecessary javascript heatmap code