Use window load instead of document ready.