Update Gruntfile.js fixing undefined jQuery check

BS3 commits: a84bd5d9f153ffae914f8660a77534fb120ca551,
362c9c9f89a39b6e365595efd35f2566275ddc01