extend Window object, not window