You're missing a >
after </title
. This may be causing the script tag not to be recognized and so it's not loading.
Here it is broken: http://jsbin.com/ubaxoy/1/edit
And here it works after adding the missing >
: http://jsbin.com/ubaxoy/2/edit
I also had to change setHTML
to setContent
because YUI 3.2 didn't have setHTML
yet. I'd also recommend you to use a newer version of YUI, from 3.9.1 up. There have been a number of great additions since 3.2.