safari5 needs the window.Window constructor as well