Variations in JS: global/context object