An example of how to create elements in javascript then attach/append them to other elements using YUI.