title: Add Class to Object on Page Load
body: <p>Basically I want to make this:</p>
  
  <pre><code>&lt;li id="about"&gt;&lt;a href="#"&gt;About&lt;/a&gt;
  </code></pre>
  
  <p>Into this when the page loads:</p>
  
  <pre><code>&lt;li id="about" class="expand"&gt;&lt;a href="#"&gt;About&lt;/a&gt;
  </code></pre>
  
  <p>I found this thread, but am not so good with javascript and couldn't adapt it:
  <a href="https://stackoverflow.com/questions/2819814/javascript-onload-if-checkbox-is-checked-change-li-class">Javascript: Onload if checkbox is checked, change li class</a></p>