Javascript TRUE is not defined or in quotes
<p>I have a XML file that contains </p>

<pre><code>&lt;car&gt;
    &lt;id&gt;123&lt;/id&gt;
    &lt;sunroof&gt;FALSE&lt;/sunroof&gt;
    &lt;service&gt;TRUE&lt;/service&gt;
&lt;/car&gt;
</code></pre>

<p>The following code only works if I wrap TRUE inside quotes e.g <code>(service == "TRUE")</code></p>

<pre><code>var service = tis.find("service").text();

if(service === TRUE){
    var service_tag = '&lt;a title="Service" href=""&gt;Service&lt;/a&gt;'
} else {
    var service_tag = '';
}
</code></pre>
