the h:outputScript tag replaced by the script tag. The IDE complains an error if using the outputScript tag without a naming attribute.