added data-attrs to nodes