 
 gb_biblio_query = (gb_id, score = 0) ->
   if $("##{html_id(gb_id)}").length == 0
+    console.log("Adding GB: #{gb_id}")
     gb_query(gb_id)
     $.ajax "#{GOOGLE_BOOKS_URI}/#{gb_id}?projection=full&key=#{GOOGLE_BOOKS_API_KEY}",
       type: 'GET'

        console.log errorThrown
        console.log "AJAX Error: #{textStatus}"
      success: (data) ->
        console.log data
        if $("##{html_id(gb_id)}").length == 0
          $('#table').DataTable().row.add([


ht_biblio_query = (ht_id, score = 0) ->
  if $("##{html_id(ht_id)}").length == 0
    console.log "Adding HT: #{ht_id}"
    ht_query(ht_id)
    $.ajax "https://catalog.hathitrust.org/api/volumes/brief/htid/#{ht_id}.json",
      type: 'GET'
