use of undefined constant jquery