Fix for "Member not found" error on IE(x) in IE7 & lower compatibility modes.

Fixed by bypassing `attr` / `removeAttr`.

Related: http://bugs.jquery.com/ticket/12577.