         existingNode.parentNode.replaceChild(targetNode, existingNode)
         if targetNode.nodeName == 'SCRIPT' && targetNode.getAttribute("data-turbolinks-eval") != "false"
           executeScriptTag(targetNode)
+  return
 
 executeScriptTags = ->
   scripts = Array::slice.call document.body.querySelectorAll 'script:not([data-turbolinks-eval="false"])'

replace = (html, options = {}) ->
  changePage createDocument(html), options

changePage = (doc, options = {}) ->
  [title, targetBody, csrfToken, runScripts] = extractTitleAndBody(doc)
  title ?= options.title


    progressBar?.uninstall()
    progressBar = null

fetchReplacement = (url, options) ->
  options.showProgressBar ?= true

  triggerEvent EVENTS.FETCH, url: url.absolute

