add the ability to append attributes to elements