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.

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online