I have five li element let say if 3rd li element has active class I want 1st and 2nd li element to have class complete (first remove class whatever 1st and 2nd li element ha