Update attr.js

Consistent with prop.js
If we're talking about strict consistency here, then add additional line between `notxml` declaration and `if` statement