Very minor, but you don't need to use the ```attr()``` getter here, ```.id``` would suffice.