Switched some typo .data calls to .attr