 GB_REGEX = /^https?:\/\/books\.google\.com\/books\?id=(.+)/
 
 html_id = (input) ->
-  input.replace(/[:.,'-]/g,'_')
+  input.replace(/[\/:$.,'-]/g,'_')
 
 # wrap values in single quotes and backslash-escape single-quotes
 fusion_tables_escape = (value) ->


GOOGLE_BOOKS_API_KEY = 'AIzaSyDkGJOl5EEBahhn1J2kS70FmiRR2uwpFIY'
GOOGLE_API_KEY = 'AIzaSyBoQNYbbHb-MEGa4_oq83_JCLt9cKfd4vg'
# Fusion Tables ID of the HT-IA index output from book-aligner.rb
HT_IA_TABLE_ID = '1ktMz3RDdYEpUu7RTzybkTNCjGg_Vxv0RV1NdC6IL'
# Fusion Tables ID of the IA-GB index output as ia-goog-index.csv
IA_GB_TABLE_ID = '1Tg0cm8gXBUwsBGx53GwGhHYiPpt_6YzG-HrR6Ywl'


          console.log data
          if callback?
            callback(data)

ht_biblio_query = (ht_id, score = 0) ->
  $.ajax "http://catalog.hathitrust.org/api/volumes/brief/htid/#{ht_id}.json",
