         @updateTransaction data
         # Start long-poller
         @poll "/roush/nodes/updates/#{@sKey}/#{@txID}?poll", (data, cb) =>
-          #console.log "Got update: ", data
           pnodes = []
           resolver = (stack) =>
             id = stack.pop()

    @wsKeys = {}

    @updateTransaction = (data) =>
      if data?
        @sKey = data.transaction.session_key
        @txID = data.transaction.txid
        #console.log "Updating transaction: ", @sKey, @txID

    @poll = (url, cb, timeout=@config?.timeout?.long) =>
      rePoll = (data) =>
        @updateTransaction data
        # Restart long-poller for new transaction
        setTimeout (=> @poll "/roush/nodes/updates/#{@sKey}/#{@txID}?poll", cb, timeout), 1

      $.ajax
        url: url

    delay: 0
    trigger: "hover"
    animation: true
    placement: ntrapy.getPopoverPlacement

  ko.bindingHandlers.popper =
    init: (el, data) ->
