update alt pre   trimRight => replace for opera