Compile all of the html for the lists first, then append it