Use one call to .attr instead of two and linebreak consistency