I think it will be easier to speek about this in the mailing list ;) .
I agree with the last comment : "then why not simply adding the style="display:none" attribute to the component tag, instead of creating an additional <span> ?" but without its innnerHtml, only the componentTag. I think it should work in all case.
-- Vincent Demay http://wwww.demay-fr.net/blog/