Plotly js subplot secondary y axis

I have 15 subplots with 4 datasets on each of them (2 box and 2 scatter x 15).
Trying to have the scatter plots on a secondary y axis (and set their ranges), but canโ€™t seem to figure it out in plotly js.
Managed to get it running on python with the use of fig.update_yaxes(range=##,secondary_y=True,row=row,col=col)
Does anyone know how to fun this in javascript ? aiming for output as figure below:
Many thanks

The codepen in Subplots w/multiple y-axes presents one way of doing this that might work for your use case.