Export as PDF, Advanced Search functionality

Javascript is definitely not my forte. Including an older jquery version
because people on the Internet said that the PDF thing I'm using won't
work with it properly but it seems ok with what's already there.