anchor.diff:        var ampm = Math.floor(date.getHours() / 12) == 0 ? 'AM' : 'PM'
         var min = addZero(date.getMinutes());
         var time = hour+":"+min+" "+ampm;
  +      show['weekDay'] = weekDay
  +      show['month'] = month
  +      show['dayOfMonth'] = dayOfMonth
  +      show['hour'] = hour
  +      show['ampm'] = ampm
  +      show['min'] = min
  +      show['time'] = time
  +      return show
  +    })
  +  }
  +  
  +
  +  function callbackShows(response, textStatus, xhr) {
  +    fullData['shows'] = addDateDataToShows(response['shows'])
  +    data['shows'] = fullData['shows'].slice(0)
  +    if ($.isReady) {
  +      updateShows()
  +    } else {
  +      $(function() { updateShows() })
  +      }
  +  }
  +
  +
  +  $.get('shows', callbackShows)
  +
  +  
  +
  +
  +  
  +
  +  var show_html = ""
  +  function updateShows() {
  +    show_html = ""
  +    for (i = 0; i < data["shows"].length; i++) {
  +      var show = data["shows"][i]
  +      
         var group = show["group"];
         if(group.search("SOLD OUT") >= 0 || group.search("ticket") >= 0){
           group = "";
         }
  -      var info = hour+":"+min+" "+ampm+" "+weekDay+"<br>"+month+" "+dayOfMonth+", "+year+"<br>"+show["location"]+"<br><b>"+group+"</b>"
  +      var info = show.hour+":"+show.min+" "+show.ampm+" "+show.weekDay+"<br>"+show.month+" "+show.dayOfMonth+", "+show.year+"<br>"+show["location"]+"<br><b>"+group+"</b>"
   
         var buy_text = "Buy"
         if(show["sellreq"] > 0)
  
positive.code:   var netid = "<%= session[:cas_user] %>"
    var data = { "shows" : [] }
    var fullData = { "shows" : [] }
    function callbackShows(response, textStatus, xhr) {
      fullData = response
      data = response.slice(0)
      if ($.isReady) {
        updateShows()
      } else {
        $(function() { updateShows() })
        }
    }
    function genFilteringPredicate(searchTerm) {
      search = searchTerm.toLowerCase()
        return function(show) {
          if (show['group'].toLowerCase().includes(search) 
            || show['location'].toLowerCase().includes(search)
            || show['name'].toLowerCase().includes(search)) {
            return true
          } else {
            return false
          }
      }
    }
  
    $('#show-search-bar').on('input', function(event) {
      var searchTerm = $('#show-search-bar').val()
      if (searchTerm === "") {
        console.log("hi")
        data['shows'] = fullData['shows']
        updateShows()
        return
  
negative.code:     updateShows()
  
    })
  
    var weekday = new Array(7);
    weekday[0] =  "Sunday";
  