Access attribute with bracket-notation

Accessing the attribute "for" with the dot-notation caused an error on IE.  Resolves #171