JavaScript code in the Dynamic Text panel

Thank you!!