title: If there are no submenus with a class of in, add a class to the first one
body: <p>This works if there is no <code>submenu</code> with a class of <code>in</code>, but on another page which has a submenu with a class <code>in</code> this script still runs.</p>
  
  <pre><code>$(".nav-submenu").not(".in").eq(0).addClass("in");
  </code></pre>