udate heatmapFuntion.js now execute main event this