application of gradientmap.js