.attr(name) now only returns the value of an attribute for the first element in the set of matched elements