refactor colormap selector to act the same as all other controls
add comments to the JavaScript