Problem with creating a PubSub enabled node in browser

I was trying to use ipfs-pubsub-room in the browser (using a browserified version of the package and the IPFS package from the cdn), and i keep getting the error: Uncaught Error: This IPFS node does not have pubsub. . I know the configuration used to be EXPERIMENTAL: {pubsub: true} , but it seems like it changed and i don’t know how to make it work in the browser anymore. What is the correct way to do it?

// Create IPFS instance

const ipfs = new Ipfs({
repo: ‘/orbitdb/examples/browser/new/ipfs/0.33.1’,
start: true,
preload: {
enabled: false
},
EXPERIMENTAL: {
pubsub: true,
},
config: {
Addresses: {
Swarm: [
// Use IPFS dev signal server
// ‘/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star’,
‘/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star’,
// Use local signal server
// ‘/ip4/0.0.0.0/tcp/9090/wss/p2p-webrtc-star’,
]
},
}
})

I took that from the orbitdb example code