title: Javascript convert a true/false value string text
body: <p>I have a jQuery script that collects the values of checkboxes in variables:</p>
  
  <pre><code>var 1_val = $("input[type='checkbox'][name='val_1']").prop( "checked" );
  var 2_val = $("input[type='checkbox'][name='val_2']").prop( "checked" );
  </code></pre>
  
  <p>Then I output these in a message to be sent via e-mail:</p>
  
  <pre><code>...&lt;strong&gt;Value 1&lt;/strong&gt;: 1_val + '&lt;br /&gt;&lt;strong&gt;Value 2&lt;/strong&gt;: ' + 2_val + '&lt;br /&gt;...
  </code></pre>
  
  <p>But in the message body I get the string with booleans true/false, and I would want to make some more user-friendly message like Yes/No. How can I change it?</p>