added support for PrimeFaces 5+