結果 : check if string exists javascript