Ran into the same thing found out you just have to write it like this GlobalNameHere.set("var" , true)
Ah, thanks. I ended up making functions for the things I needed to change but that's easier