tidied up tweet plugin