some documentation
.attr({attribute: value}) instead of .attr(attribute, value)