Testing document ready

You will see an alert box say ready after a while.

This page will load a slow javascript and a slow image. For most browsers, you should see the alert box after the script loaded but before image loaded. Some browsers might fire the alert box after the image loaded.