Updated onReady. The things I do for IE.