Bug 960894 - 3.b/4: don't modify global.
Bug 960894 - 3.c/4: construct global objects from constructors.
debug