dont pass unused Heatmap layer into LoadData. Dont set window var unless its actually needed.