Added getAttribute for ie