// JavaScript Document
    function randomString(length) {
      var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');
      var str = '';
      for (var i = 0; i < length; i++) {
        str += chars[Math.floor(Math.random() * chars.length)];
      }
      return str;
    }
    var rnd = randomString(8);

    jQuery(document).ready(function($) {
      $(".tweet").tweet({
        join_text: "auto",
        username: "pruuverije",
        avatar_size: 32,
        count: 1,
        auto_join_text_default: "we said:", 
        auto_join_text_ed: "we",
        auto_join_text_ing: "we were",
        auto_join_text_reply: "we replied:",
        auto_join_text_url: "we were checking out",
        loading_text: "loading tweets..."
      });
      $("#empty").tweet({
        avatar_size: 32,
        count: 2,
        query: rnd,
        loading_text: "searching twitter..."
      }).bind("empty", function() { $(this).append("No matching tweets found"); });
      $(".rnd").replaceWith(rnd);
    })

