Changed on document load to window load