 
 
     #
-    $('.contact_delete').click( (event) ->
+    $('.contact_delete').click( (e) ->
       contact_id = $(@).parent().find('.contact_name').attr('id')
       if (confirm('Delete this field?'))
-        delete_contact(contact_id)
-    )
-
-    $('.contact_update').click( (event) ->
+        @delete_contact(contact_id)
+    )
+
+    $('.contact_update').click( (e) ->
       contact_obj = $(@).parent().parent().find('.contact_name')
-      $.post(UPDATE_DATE_FILE, {
+      $.post(@UPDATE_DATE, {
         id: $(contact_obj).attr('id')
       }, (data) =>
         @search_start('');

    @UPDATE_CONTACT = ""
    @DELETE_CONTACT = ""
    @LOAD_SETTINGS = ""
    @SEARCH_FILE = ""

    @search_start('')
    @run()

    else
      $('#sortable').sortable({ disabled: false; })

    $.post(@SEARCH,
      {
        search_term: search_term,
        order: 'position'
