moved stuff in tweet.js