initial version based on heatmap.js example