Using Global namespace instead of window obj.