         console.log errorThrown
         console.log "AJAX Error: #{textStatus}"
       success: (data) ->
-        console.log "isbn_query #{isbn_id} result:"
-        console.log data
-        if data and data.items and (data.items.length > 0)
-          for item in data.items
-            process_gb_id(item.id, score)
-            gb_query(item.id)
-
-lccn_query = (lccn_id, score = 0) ->
-  if lccn_id not in QUERIED_IDS['lccn']
-    console.log "lccn_query: #{lccn_id}"
-    QUERIED_IDS['lccn'].push lccn_id
-    $.ajax "#{GOOGLE_BOOKS_URI}?q=lccn:#{lccn_id}&key=#{GOOGLE_BOOKS_API_KEY}",
-      type: 'GET'
-      cache: true
-      dataType: 'json'
-      crossDomain: true
-      error: (jqXHR, textStatus, errorThrown) ->
-        $('#results').append($('<div/>',{class: 'alert alert-danger', role: 'alert'}).text("Error in Google Books AJAX call for identifier #{gb_id}"))
-        console.log jqXHR
-        console.log errorThrown
-        console.log "AJAX Error: #{textStatus}"
-      success: (data) ->
-        console.log "lccn_query #{lccn_id} result:"
-        console.log data
-        if data and data.items and (data.items.length > 0)
-          for item in data.items
-            process_gb_id(item.id, score)
-            gb_query(item.id)
-
-oclc_query = (oclc_id, score = 0) ->
-  if oclc_id not in QUERIED_IDS['oclc']
-    console.log "oclc_query: #{oclc_id}"
-    QUERIED_IDS['oclc'].push oclc_id
-    $.ajax "#{GOOGLE_BOOKS_URI}?q=oclc:#{oclc_id}&key=#{GOOGLE_BOOKS_API_KEY}",
-      type: 'GET'
-      cache: true
-      dataType: 'json'
-      crossDomain: true
-      error: (jqXHR, textStatus, errorThrown) ->
-        $('#results').append($('<div/>',{class: 'alert alert-danger', role: 'alert'}).text("Error in Google Books AJAX call for identifier #{gb_id}"))
-        console.log jqXHR
-        console.log errorThrown
-        console.log "AJAX Error: #{textStatus}"
-      success: (data) ->
-        console.log "oclc_query #{oclc_id} result:"
+        console.log "#{identifier_type} query #{identifier} result:"
         console.log data
         if data and data.items and (data.items.length > 0)
           for item in data.items

  ia_biblio_query(ia_id, score)
  console.log ia_id

isbn_query = (isbn_id, score = 0) ->
  if isbn_id not in QUERIED_IDS['isbn']
    console.log "isbn_query: #{isbn_id}"
    QUERIED_IDS['isbn'].push isbn_id
    $.ajax "#{GOOGLE_BOOKS_URI}?q=isbn:#{isbn_id}&key=#{GOOGLE_BOOKS_API_KEY}",
      type: 'GET'
      cache: true
      dataType: 'json'

            gb_id = match[1].split('&')[0]
            process_gb_id(gb_id, score)
          if data.metadata.lccn?
            industry_identifier_query('lccn', data.metadata.lccn)

process_ia = (identifier_string) ->
  console.log 'process_ia'
