How to make use of room variable in main conference.js file?

This may sound silly or repetitive but I need to know how to make use of room variable from conference.js file to another file. I seem kinda lost the way of how to do that… This will be helpful for me to use kicked out function as I also need to kick everyone from the meeting while clicking a button in another js page.

WhatsApp Image 2021-09-21 at 1.06.13 PM