Fix a bug in $().attr .

Cannot get value of class attribute and for attribute.