add log to twitter.js