結果 : check if child element exists javascript