Refactores twitter widget
Refactores twitter widget

- Order of code: Define functions first before using them
- Fixed issues found by jsHint (http://jshint.com)
- Switched to Twitter's current API url
- Expand shortened urls, fixes #165

albrow/blog-old,albrow/blog-old,albrow/blog-old