結果 : check if json element exists javascript