oops ! sent too quickly. updateRoot: aRoot | elem | super updateRoot: aRoot. elem := WAHtmlElement named: 'script'. elem attributeAt: 'type' put: 'text/javascript'. elem attributeAt: 'src' put: 'http://www.xxx.com'. aRoot addHeadElement: elem.