Reversed changes to heatmap.src.js (ColorAxis.toRelativePosition), makes this a "cleaner" patch.