Inline javascript transform syntax error

Openhab 4.1.2
I have the JavaScript scripting addon. As far as I can tell, that also give me access to JS transforms?
I’m not able to chain in an inline JavaScript transform

  Type number :    hvac_humidity_CCSW "humidity" [stateTopic=  "zwave/CCSW/T6Pro/sensor_multilevel/endpoint_0/Humidity", transformationPattern="JSONPATH:$.value∩JS(| Math.min(90,Math.max(40,input)))"]

It should follow the syntax of <type>:<transformation> so in this case JS:|xxxxxxx and not JS(xxxx)

For inline syntax, the space after | is optional. It would work without the space

Of course. Thank you.