added additional data from html node, renamed state.children to state.items