   create_spacetree: (jit_options) ->
     $('#tree_empty_state').hide()
     
-    @root_node ||= @options.tree_node_class.create_root this
+    @root_node ||= @options.tree_node_class.create_root @
     
     jit_default_options =
       injectInto: @container_id

      
      # Set up hover events for groups and phenotypes
      associated_targets = ->
        targets = $(this)
        associated_groups = targets.data 'associated'
        if associated_groups
          targets = targets.add($("##{group}")) for group in associated_groups

    child
  
  @create_root: (tree) ->
    new @ tree, 'root'


class ProfileTreeNode extends TreeNode
