Good point. This was originally written in a context without jQuery but can now take advantage of jQuery.