Had to remove this reference to jquery - PrimeFaces uses its own version of jQuery which was conflicting. I'm not aware of this change affecting anything but if it is we'll need to work around