       else if localStorage["#{collection}:#{$(child).attr('id')}"]?
         if $(child).attr('class') == 'pagedown_container'
           $(child).find('.wmd-input').val(localStorage["#{collection}:#{$(child).attr('id')}"])
+        else if $(child).attr('id') == $('input[data-urn=true]').attr('id')
+          # push URN into hash parameters
+          history.replaceState(null,'',window.location.href.replace("#{location.hash}","#{location.hash}&#{$(child).attr('id')}=#{localStorage["#{collection}:#{$(child).attr('id')}"]}"))
         else
           $(child).val(localStorage["#{collection}:#{$(child).attr('id')}"])
 

  check_table_access $(collection).attr('class')

  # update various inputs after we've actually put the form in the DOM
  set_author_name()
  construct_latest_urn (urn) ->
    $('input[data-urn=true]').attr('value',urn)

        push_selected_collection()

        build_collection_form selected_collection
        unless get_cookie 'access_token'
          $('.container > h1').after $('<div>').attr('class','alert alert-warning').attr('id','oauth_access_warning').append('You have not authorized this application to access your Google Fusion Tables. ')
          $('#oauth_access_warning').append $('<a>').attr('href',google_oauth_url()).append('Click here to authorize.')
