update google map margins, add heatmap object and ajax call to js