address #13811
Merge pull request #13842 from twbs/fix-13811

update "is jQuery defined" check for UMD compatibility