Use Cal-HeatMap 3.4.0, simplify structure and decouple from D3