New version of jquery. Correct error with comparison function.