Heatmap.js is unable to cope with window resizes. Replaced by simpleheat.js