Oh, huh. Since I've know jQuery, I've used the formulation:
but in going over some jQuery UI example, I found out
is a more concise replacement, that also waits for the DOM to be loaded.
Here's a pretty decent summary page including some other options.