Updates JQuery library.
(cherry picked from commit b73185e)
Solves some PHP warnings.
(cherry picked from commit 4a84385)