The comments section of this article: http://ayende.com/Blog/archive/2010/09/18/resolving-cross-site-scripting-issues.aspx has a very interesting comment.
In it, Mark mentions that I need to jain the calls to append to prevent "$(childDiv) lookup multiple times".
What is the impact of the vulnerability of "$(childDiv) lookup multiple times"?