     show_job_panel()
     $.ajax
       type: 'GET'
-      url: app_root() + Routes.osc_job_path(id)
+      url: ROOT_PATH + Routes.osc_job_path(id)
       contentType: "application/json; charset=utf-8"
       dataType: "json"
       error: (jqXHR, textStatus, errorThrown) ->


@update_copy_button = (id) ->
  if id?
    $("#copy_button").attr("href", app_root() + Routes.copy_osc_job_path(id))
    $("#copy_button").data("method", "PUT")
    $("#copy_button").removeAttr("disabled")
    $("#copy_button").unbind('click', false)


@update_submit_button = (id, status_char) ->
  if id? && !status_char?
      $("#submit_button").attr("href", ROOT_PATH + Routes.submit_osc_job_path(id))
      $("#submit_button").data("method", "PUT")
      $("#submit_button").removeAttr("disabled")
      $("#submit_button").unbind('click', false)
