Created a pathObjects method for JSNode that returns the chain of objects to the root node