     if localStorage["#{urn}[head]"]?
       set_cts_text(urn, localStorage["#{urn}[head]"], localStorage["#{urn}[body]"])
     else
-      get_passage(urn)
+      setTimeout(get_passage(urn),get_passage_delay * 30)
+      get_passage_delay += 1
     
     if cite_collection_contains_urn(urn)
       translated_urns += 1
 
-  progress = translated_urns/valid_urns.length * 100.0; 
+  progress = translated_urns/valid_urns.length * 100.0
   console.log("Progress: #{progress}")
   $('#translation_progress').attr('style',"width: #{progress}%;")
 

# construct a list of valid URN's and pass to callback function
get_valid_reff = (urn, callback = null) ->
  console.log('get_valid_reff')
  request_url = "#{cts_cite_collection_driver_config['cts_endpoint']}?#{$.param(
    request: 'GetValidReff'
    urn: urn
  )}"
  console.log(request_url)
  $.ajax request_url,
    type: 'GET'
    dataType: 'xml'
    crossDomain: true
    error: (jqXHR, textStatus, errorThrown) ->
      console.log "AJAX Error: #{textStatus}"
    success: (data) ->
      console.log(data)
      valid_urns = get_valid_reff_xml_to_urn_list($($(data)[0]).children('contents')[0])
      console.log valid_urns.length
      callback() if callback?

check_table_access = (table_id, callback) ->
  # test table access
  if get_cookie 'access_token'

        error: (jqXHR, textStatus, errorThrown) ->
          console.log "AJAX Error: #{textStatus}"
        success: (data) ->
          # console.log data
          if callback?
            callback(data)

