               show_renames()
           else
             window.last_clicked_list_item = { selected: selected, timeStamp: event.timeStamp }
-    })
 
   make_file_list_uploadable = (element) ->
-    dropzone = new Dropzone(element[0], {
-      url: "/upload" + element.data('ls-path'),
-      clickable: false,
+    dropzone = new Dropzone element[0],
+      url: "/upload" + element.data('ls-path')
+      clickable: false
       previewTemplate: '<li><a class="file not_dir" href="#"><span class="icon"></span><span class="dz-filename" data-dz-name></span><span class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></span><span class="dz-hidden dz-size" data-dz-size data-dz-errormessage></span><img data-dz-thumbnail class="dz-hidden" /></a></li>'
-    })
     dropzone.on "sending", (file, xhr, formData) ->
       xhr.setRequestHeader 'X-CSRF-Token', $('meta[name="csrf-token"]').attr('content')
     dropzone.on "success", ->

        files = null
      else
        files = { files: files }
      $.post(window.routes.remove_files_path.replace('/:path', path), $.extend({
        _method: 'delete'
      }, files)).success (d) ->
        window.available_undos.unshift d
        load_file_list first.closest('ul.column')
      .error ->

      load_file_list window.selected_items.eq(0).find('ul.column')

  menu_items =
    for_files: [
      'Open--'
      'Move to Trash--'
      'Get Info'
      'Rename'
    ]
    for_lists: [
      'Undo--'
      'Make Directory'
      'Create Empty File--'
      'Refresh--'
      'Get Info'
      'Settings'
    ]

  menu_items_before_clicked =
    for_files: ->
