added get temperature color javascript function