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