No, directly in C2, create an event going like this :
System:Every Tick
-- Browser : execute Javascript("var money_outside_C2 = "&money)
This will eval the string you build in the Execute javascript parameter. Here, I declared a variable in the page context (window.money_outside_C2), that you can access through the webpage as you wish, and that is updated every tick.
It would be better to do this not every tick, but when the money change of course. Also, you could execute something like "myClassWrittenInJavascript.update_money("&money&")", to trigger a custom function you made outside of C2.
EDIT : ho, and if you had logged the globals instead of alerting it, you would have seen that you can access those by hand too, no need to eval in C2.