         status: "good"
       , {}, ko.mapping.fromJS @node, mapping
 
-    # Long-poller
-    #(poll = =>
-    #  $.ajax
-    #    url: "/roush/nodes/4?poll"
-    #    success: (data) =>
-    #      console.log "Zomg polled!"
-    #      @mapData data, @wsTemp, mapping, wrap=false
-    #    dataType: "json"
-    #    complete: (xhr, txt) ->
-    #      console.log "Txt: ", txt
-    #      if txt is not "success"
-    #        setTimeout poll, 1000
-    #      else
-    #        setTimeout poll, 0
-    #    timeout: @config?.timeout?.long ? 30000
-    #)()
+    @wsKeys = ko.observable()
 
     ntrapy.pollTree = =>
       unless ntrapy.poller? then ntrapy.poller = setInterval @getMappedData, @config.interval, "/roush/nodes/1/tree", @wsTemp, mapping


    @getMappedData = (url, pin, map={}, wrap=true) =>
      @getData url, (data) => @mapData(data, pin, map, wrap)

    @wsTemp = ko.observableArray()
    @wsItems = ko.computed =>

      @config = data

      # Load initial data, and poll every config.interval ms
      #@getMappedData "/roush/nodes/1/tree", @wsTemp, mapping
      #ntrapy.pollTree()
      @getData "/roush/nodes", (data) =>
        @mapData @getNodes(data, @wsKeys), @wsTemp, mapping

    @siteActive = ntrapy.selector (data) =>
      null
