   title = doc.querySelector 'title'
   [ title?.textContent, doc.body ]
 
-createDocument = null
-
 browserCompatibleDocumentParser = ->
   createDocumentUsingParser = (html) ->
     (new DOMParser).parseFromString html, 'text/html'


rememberCurrentAssets = ->
  assets = extractAssets document
  
rememberInitialPage = ->
  unless initialized
    rememberCurrentUrl()

initialized    = false
currentState   = null
referer        = document.location.href
assets         = []
pageCache      = []
createDocument = null

visit = (url) ->
  if browserSupportsPushState
