[jQuery] dashes in attribute names illegal?

[jQuery] dashes in attribute names illegal?

>So I've found the culprit, within $.attr: