Moved traildata into data-* attributes instead of mashing it into the element ID