Staircase works offline, but it is not working on Pavlovia

OS: macOS Mojave 10 (version 10.14.6)
PsychoPy version: 2022.2.5

What are you trying to achieve?
I am trying to have my stop-signal delay increase or decrease by 50 ms depending on performance in my task that is on Pavlovia.

What did you try to make it work?
I have created a stop signal task and I have managed the get the stop signal sound to start at 250 ms after the first stop stimuli, and then the SSD will increase/decrease by 50ms depending on the subject’s performance. This staircase works offline, however, once it has been uploaded to Pavlovia, I noticed in the data that the SSD starts at 250ms and decreases until there is a 0.0ms SSD, regardless of task perofrmance.

I believe this is due to the conversion of Python to JS that is used for the online task.

Is there something that I can modify in the JS code to get this task to work correctly online?

If not, please can you suggest some ways around my issue?
Thanks in advance.
SST-alcohol.psyexp (107.5 KB)

SST_alcohol practice.xlsx (9.5 KB)
SST_alcohol.xlsx (16.3 KB)