       when false
         $('nav.controls').hide()
   
+  # Evaluates whether URL attached to page `i` has been loaded yet. Returns `boolean`.
   already_loaded: (i) ->
     typeof @options.pages[i]['loaded'] == 'boolean' && @options.pages[i]['loaded']
   
+  # Removes the asset from drop-target identified by `el`.
   remove: (el) ->
     parent = $(el).parent()
     parent.find('.droppable').empty().html('<span>Drag Asset Here</span>')
     parent.find('input').val('')
     $(el).hide()
   
+  # Called upon successful DELETE request for a specific asset. Removes any instances of
+  # asset identified by `id`, closes the modal window and reloads the first tab.
   delete: (id) ->
     @log "delete(#{id})"
-    console.log $("a#file-#{id}")
     $("a#file-#{id}").parent().remove()
     $(document).trigger('close.facebox')
     @reload(0)
     false
   
+  # Upon collapse, we disable panels.
   collapse: ->
     @disable_panels()
   
+  # Expands the asset toolbar and reenables the currently loaded tab. 
   expand: ->
     @goto(@current)
   
+  # Setup all associated events.
   events: ->
     @modal_events()
     @global_events()

        @expand()
        @options.onExpand()
  
  load: (i) ->
    @log "load(#{i})"
    ref = this

    html = Mustache.to_html(@tpl('drop'), opts)
    $.facebox("<div class=\"asset-detail\">#{html}</div>")
  
  # Removes active state from all tabs, adds it back for tab identified by `i`
  activate: (i) ->
    @log "activate(#{i})"
    @current = i
