fix Window/window (safari 4 issue)