Tweak to color picker inline JS generation