Javascript HTML pointer location gathering and heatmap visualization script