d3.js heatmap mostly finished