fix another misuse of jquery $