fixed a bug in twitter.js