classList is a DOMTokenList instance, it doesn't have a getAttribute method. The target element is in the element property
Merge pull request #72 from Financial-Times/domtokenlist

Fix domtokenlist polyfill