Seems you split .ul and .li across methods. Maybe this would be better in a single method like #add_styled_list and that would include stuff in add_list_item as well so you see it all in one method.