Added a module for getting a reference for the global object.
Check if global is the window object in browsers