Added the global module for accessing window