I remember having a similar problem that my JS guy solved, so I can only point you to possible a problem. I think it has todo that your CSS is somehow applied by JQuery on document.ready. JSF ajax will on execute this again, resulting on missing behaviour and appearance. Hope it helps.