Update Gruntfile.js fixing undefined jQuery check

The check to see if jQuery was defined as incorrect causing the "Bootstrap requires jQuery" message to only be displayed if jQuery is defined and has a value which equates to `false`.
Merge pull request #10863 from DeanMarkTaylor/patch-2

Update Gruntfile.js fixing undefined jQuery check