Use a better syntax for document ready.