$('div#notes_<%= @event.id %>').prepend("<%= escape_javascript(render(:partial => @note)) %>");

update_note_count('<%= @event.html_id %>', {notes_count_in_words: "This event has <%= pluralize(@event.notes_count, 'note') %>", notes_count: <%= @event.notes_count %>});

$('div#new_note_box').remove();
Snorby.helpers.remove_click_events(false);
$('div#notes_<%= @event.id %>').find('textarea#body').val('');
$('strong.no-notes').remove();
$('button').removeClass('loading');
flash();