   # executes after 'delay' and invokes 'callback' when it is finished.
   #
   deactivateMode: (delay, callback) ->
-    deactivate = ->
+    deactivate = =>
       if (LinkHints.markerMatcher.deactivate)
         LinkHints.markerMatcher.deactivate()
       if (LinkHints.hintMarkerContainingDiv)

  # Handle the link hinting marker generation and matching. Must be initialized after settings have been
  # loaded, so that we can retrieve the option setting.
  markerMatcher: undefined

  #
  # To be called after linkHints has been generated from linkHintsBase.

  activateModeWithQueue: -> @activateMode(true, true, false)

  activateMode: (openInNewTab, withQueue, copyLinkUrl) ->
    if @isActive
      return
    @isActive = true

    if (!document.getElementById("vimiumLinkHintCss"))
      # linkHintCss is declared by vimiumFrontend.js and contains the user supplied css overrides.
      addCssToPage(linkHintCss, "vimiumLinkHintCss")
