Use failsafe jQuery invocation.