anchor.diff:                  $("#pagination").append(firstPage);
                   for(var i = currentMin-3; i < currentMin; i++){
                       var newPage = document.createElement("span");
  -                    newPage.innerHTML = i;
  -                    $(newPage).click(function(){
  -                        var thisPageNum = (parseInt($(this).html()))*10;
  -                        populateBikeList(thisPageNum,thisPageNum+10);
  -                    });
  +                    $(newPage).click({pageNum : i},clickToPage);
  +                    newPage.innerHTML = i+1;
                       $("#pagination").append(newPage);
                   }
               }else{
                   for(var i = currentMin - 3; i < currentMin; i++){
                       if(i >= 0){
                           var newPage = document.createElement("span");
  -                        newPage.innerHTML = i;
  -                        $(newPage).click(function(){
  -                            var thisPageNum = (parseInt($(this).html()))*10;
  -                            populateBikeList(thisPageNum,thisPageNum+10);
  -                        });
  +                        $(newPage).click({pageNum : i},clickToPage);
  +                        newPage.innerHTML = i+1;
                           $("#pagination").append(newPage);
                       }
                   }
               }
               //Setup current page
               var currentPage = document.createElement("span");
  -            currentPage.innerHTML = currentMin;
  +            currentPage.innerHTML = currentMin+1;
               currentPage.className = "currentPage";
  -            $(currentPage).click(function(){
  -                populateBikeList(currentMin,currentMin+10);
  -            });
               $("#pagination").append(currentPage);
   
               //Setup last three pages
  
positive.code:                 $("#pagination").html("");
              });
              $("#pagination").append(viewAll);
          }
  
          function renderHtml(response,viewAll){
  
negative.code:                 for(var i = currentMin+1; i < currentMin+4; i++){
                      var newPage = document.createElement("span");
                      newPage.innerHTML = i;
                      $(newPage).click({pageNum : i},clickToPage);
                      newPage.innerHTML = i+1;
                      $("#pagination").append(newPage);
                  }
                  var lastPage = document.createElement("span");
  