       return
 
     monitor = new MonitorStatus monitorItems
-    monitor.showNotifications = showNotifications
-    monitor.run()
-
-  window.jsonp =-> KD.externalPong()
+    monitor.run callback
 
 class BrokerPing extends Pinger
   constructor: (options, data) ->

    log  "all's well on western front"
    @emit 'internetUp'

  printReport: ->
    for own name, item of @itemsToMonitor
      log name, item.getResponseTime()

  run: ->
    for own name, item of @itemsToMonitor
      item.once "finish", (i, n) =>
        @emit "pingDone", i, n

  monitorItems = new MonitorItems
  monitorItems.register {external}

  window.jsonp =-> KD.externalPong()

  KD.troubleshoot = (callback)->
    monitorItems = KD.getSingleton("monitorItems").items

    if monitorItems.length == 1
