Replace document.ready with window.load

See if that changes anything...