IE8 cannot use .data change to .attr