I\'m working on a web app that does some hockey analytics, amongst other things using online data to create heatmaps of a hockey rink. The heatmap code has been causing a lo