Either of those could be a spot to put a global value, but you may be better off making your own global variable. I think the edittime.js is put inside a closure so vars there aren't global as you say.
I fount this snippet online as a way to get the global namespace.
var global=Function("return this")();
After getting that you can add a global variable with:
global.myvar=1337;
Then using something like:
alert(myvar);
Should work in any other edittime.js after that.