Changed how <li>'s  are closed in .append()'s

list items are now closed on the same line that they are opened instead
of closing them when appending the next item in that list.