Refactor/re-organize twitter.js and script.js files.