結果 : check if item exists javascript