cleaning up twitter related html segments