Use a less intrusive DOM ready listener