not sure what happened here

But this was horribly broken, since the options array was being passed
to attr() instead of a specific option object.