Updated jQuery and fixed php errors.

Updated jQuery, jQuery ui, jQuery cookie, and fixed php errors.  Removed
some unused jQuery files.