結果 : check if parent has class javascript