     @event willDestroyElement
   ###
   willDestroyElement: ->
-    img = get @, 'element'
+    $img = this.$()
     didImageLoad = get @, 'didImageLoad'
-    img.removeEventListener('load', didImageLoad, false)
+    $img.off('load.image-view', didImageLoad)
     @_super()

    view = @

    didImageLoad = (e) ->
      img = this
      img.removeEventListener('load', didImageLoad, false)

      #Do nothing if view instance is destroyed
      return if get(view, 'isDestroyed')

      #Do nothing if src has changed again since loading began
      current = get(view, 'src') ? ''
      loaded = img.src.substr(-(current.length))
      return unless loaded is current

      set view, 'loading', false #exit loading state

###

Emberella = window.Emberella
jQuery = Ember.$
get = Ember.get
set = Ember.set

