Not all browsers have 'global' defined.