If you're asking what I think you're asking, it isn't possible.
Unlike client/server apps, HTTP apps are one-way. Clients can solicit the server, but the server cannot solicit clients, only respond to client solicitations. It's not a JSF issue or even a
Java issue. You cannot make an HTTP server of any kind reach out and invoke JavaScript on a web page.
That, in fact, is why AJAX was invented. While the server can't contact the client, an AJAX client CAN contact the server. It simply makes an HTTP request from within the page that contains it. To make the AJAX code run, you usually either tie it to some GUI control or you fire off a client-side timer event.