put ajax tweets in js file