I've got this legend:

I would really like to remove the "OfficialQH" heading as that is the name of the attribute field. I went back into ArcMap and cleared the heading and overwrote the service but it has not changed. Is there a way to change this? I'm not sure there is based on the unique value renderer seen on my rest services page. It appears to take that heading from the "Field 1" field and it's not like I can remove it otherwise I would have no way to symbolize the my different values.
I can see on my rest services page that the unique value render looks like so:
Renderer:Unique Value Renderer:
Field 1:
Field 2:
Field 3:
Field Delimiter:
Default Symbol:
Default Label:
UniqueValueInfos:
- Value: 0
Label: Not Quail Habitat
Description:
Symbol:Style:
Color:
Outline:Style:
Color:
Width: - Value: 1
Label: Quail Habitat
Description:
Symbol:Style:
Color:
Outline:Style:
Color:
Width:
Javascript legend code:
<SPAN class="comment token">//Add a legend to the view</SPAN>
<SPAN class="keyword token">var</SPAN> legend <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">Legend</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">{</SPAN>
view<SPAN class="punctuation token">:</SPAN> view<SPAN class="punctuation token">,</SPAN>
layerInfos<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">{</SPAN>
layer<SPAN class="punctuation token">:</SPAN> featureLayer<SPAN class="punctuation token">,</SPAN>
title<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"Quail Habitat Status"</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">]</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
view<SPAN class="punctuation token">.</SPAN>ui<SPAN class="punctuation token">.</SPAN><SPAN class="token function">add</SPAN><SPAN class="punctuation token">(</SPAN>legend<SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"bottom-right"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>