   
   addAllCurrentTags: ->
     # Fill up @tagViews with tags for each currently displayed tags
-    for $currentElement in @$container.find('.tag')
-      $element = $($currentElement)
+    for currentElement in @$container.find('.tag')
+      $element = $(currentElement)
       id = $element.data('id')
       name = $element.find('.tagContent').text()
       tag = new Tag(name, id)

    @tagViewClass = tagViewClass
    @addAllCurrentTags()
    
    # New way
    ua = navigator.userAgent
    clickEvent = if (ua.match(/iPad/i)) then "touchstart" else "click"
    
      # OLD WAY
    #@$container.find('.tag .close-16').live "click", (event)=>
    @$container.find('.tag .close-16').live clickEvent, (event)=>
      @removeTag($(event.currentTarget).parent().data('id'))
    

    @$element.find('.tagContent').html(tagName)
  setId: (id) ->
    @$element.attr('data-id', id)
    @tag.setId(id)
  fadeIn: ->
    # TODO: This should pull the current bg color, change to dark, then animate up to the supposed-to color
    #currentBackground = @$element.css('backgroundColor');
