* specified script to load and be run.
*/
public void addJavaScriptAtPosition(FacesContext context,
ResourcePosition position, Class myfacesCustomComponent,
String resourceName, boolean defer) {
addJavaScriptAtPosition(context, position, new MyFacesResourceHandler(
myfacesCustomComponent, resourceName), defer);
}