   # 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.

      LinkHints.hintMarkers = []
      handlerStack.pop()
      HUD.hide()
      @isActive = false

    # we invoke the deactivate() function directly instead of using setTimeout(callback, 0) so that
    # deactivateMode can be tested synchronously
