Bulletproofed end-of-list closing <div> tag