Use domready for cross-browser support