r the existence of the Ajax resource by calling 
 <code>UIViewRoot.getComponentResources()</code>.  If
 the Ajax resource does not exist, create a <code>UIOutput</code> component
 instance and set the renderer type to <code>javax.faces.resource.Script</code>.
 Set the the following attributes in the component's attribute <code>Map</code>:
 <code>library</code> with the value  and 
 <code>name</code> with the value . Install the component
 resource using <code>UIViewRoot.addComponentResource()</code> and spe