It is down to the placement of the if statements this is the way to use them for a list.
<ul>
<li>HTML5 Boilerplate</li><% if (includeJeet) { %>
<li>Jeet</li><% } %><% if (includeRespond) { %>
<li>Respond</li><% } %>
</ul>
If the if statement commences on a new line then the new line is created.