Playlist build not working

- the playlists were not being built correctly (the main div inside
each list item was being closed before it should have been)