minor change to colormap.js and render.js