Use version_compare to check for required jQuery. Closes #3567