$('#circuit_row_<%= @circuit.id %>').replaceWith("<%= escape_javascript(render(@circuit))%>"); close_pane_hover();