Solves some PHP warnings.
Updates JQuery library.