   start: ->
     unless @started
       addEventListener("click", @clickCaptured, true)
+      addEventListener("DOMContentLoaded", @pageLoaded, false)
       @history.start()
       @started = true
 
   stop: ->
     if @started
       removeEventListener("click", @clickCaptured, true)
+      removeEventListener("DOMContentLoaded", @pageLoaded, false)
       @history.stop()
       @started = false
 


  loadResponse: (response) ->
    @view.loadHTML(response)

  # Page snapshots


  restoreSnapshotByScrollingToSavedPosition: (scrollToSavedPosition) ->
    if snapshot = @cache.get(@location)
      @view.loadSnapshotByScrollingToSavedPosition(snapshot, scrollToSavedPosition)
      @notifyApplicationOfSnapshotRestoration()
      true

  # History delegate
