Heat map chart done with javascript object concept