That's a confusing name for a global variable
This is actually pretty difficult because you need to build a string with the variable contents, but if the string contains JS characters then it will cause a syntax error (or in some circumstances, a pretty bad security vulnerability). It's probably easier to find a different way of doing that - why not prompt with ordinary objects in the C2 project?