// assumes jQuery is called with $ function sbool jqueryUsed(S html) { if (!regexpFind("$\\s*\\(", html)) false; for (S js : allJavascriptFromHTML(html)) { LS tok = jsTok(js); if (jfind(tok, "$("))) true; } false; }