結果 : check if string equals javascript