Assigning a gradient to an HTML element fails, if the string of CSS is generated in JS on runtime, but it does not if it\'s a string defined as constant. I want to generate a ra