How to get italic text in JS dropdown menus

Simply wrap brackets around the value:
(No italics)
image
(With italics)
image
image
Note: The resulting value will not be a string, despite looking like one, so you'll have to do this at the start of the block:
image