* JS. Working with Palette.