cleaning up code, moved js to tweets.js