Merge pull request #5 from adatao/nhan-sse-fixes

Nhan sse fixes
Merge pull request #6 from adatao/nhan-sse-fixes

add legend for d3_heatmap