Even better to use bonzo's addClass which will use classList if available.