i believe visual jsf does support this. theres a section on ajax which includes javascript in the book "core java server faces". It also includes sections on javascript libraries that reduce the amount of javascript code you need to write.
I'm a newbie at this as well but try googling the prototype libraries or go to
http://prototype.conio.net (from the book not been there myself as yet)