Update getText to support IE<=8 and FF