anchor.diff:        function giveMessage(msg) {
           $('<li>'+msg+'</li>').prependTo('#history').hide().slideDown();
         }
  +      var lock = false
         function getNewImage() {
           count += 1;
  +        lock = true;
           $('#loading').fadeIn();
           $('#loading').text('Loading image ' + count + '...');
           document.title = 'random imgur (' + count + ')';
  
positive.code:         $('#image').load(function(){});
          $.get("/api/imgur/getRandomImage", function(d) {
            $('#image').attr('src', d.data[0]);
            $('#details').text("Fetching info...");
            giveMessage('<a href="' + d.data[0] + '">' + d.data[0] + '</a>');
            $.get("/api/imgur/getImageInfoString", { 'slug': d.data[1] }, function(info) {
  
negative.code:         switch(e.which){
            case 13: // enter
            case 32: // space
              if (lock) {
                $('#loading').text(function(index, text){
                  return text.replace(/\.(?=[^.]*$)/, "!");
                });
              } else {
                getNewImage();
              }
              break;
            case 83: // s
              $('body').toggleClass('crop');
  