Fixes #2997 — don't bother trying to load jQuery on the server-side.