DOM to JS objects and back again with data-* tags and centaurs