Convert rainbow palettes from VB to JS code and make them available