restored list styles
apply changes to dom
added id attributes