More lenient jquery check.