Access to bot variables in JavaScript for text overlays

Think it would be useful to have access to bot variables in the javascript section for text overlays as wanting to migrate a rotating event bar to the bot and it has some javascript that requires variables. Also this would be helpful to everyone I think

Not sure what you mean exactly, can you clarify? You can already use custom variables and response filters

In the javascript portion of Text overlays Variables seem to not directly work. atm have to make a custom variable and generate a url to fetch it in javascript on text overlays. would be great if we could use the variables in the javascript like we can in the script portion of custom variables