added support for HTML5 friendly JSF 2.2 and PrimeFaces