Popular Search : Jquery Check If Parent Element Has Class, Jquery Check If Clicked Element Has Parent With Class