Add jQuery version check to existing jQuery presence check

Fixes #14809.
Closes #14825.
Merge pull request #14852 from twbs/jquery-version-check

Add jQuery version check to existing jQuery presence check