Attempting to Document "Flow" of Javascript Actions

I believe that I was starting to granular when trying to understand how habit works, instead of stepping back and taking a look at what all was there. Thus I have started to go through and document the hierarchy of each function or schema, where it is defined and called. The goal of this is to ultimately provide a method of back tracking each function easier by seeing where it is defined, and even jumping ahead to each method that utilizes a function. 

In theory, this would make it easier to figure out what you need to call to solve a problem, or even if something exists for what you're attempting to do, allowing you context for creating a new function. 

Keep in mind, my javascript knowledge is still in novice stages, so I may be over looking something. But I am trying.