Gridlines above bar plot

I want gridlines to be above bar plot, something like this:

I thought that this would do the trick

yaxis: {
  layer: 'above traces'
}

Result:

My current workaround above is using shapes to create a bunch of horizontal lines.

Is there another workaround, to force gridlines to be on top of the bars, such as applying the layout after?

Thank you, I am new to Plotly.js