Use .data instead of .attr to allow non-string objects be attached
to items.