fixed rule for validating jquery version.