I'm familiar with using using
executeQueryAsync() in JSOM to send requests for information from the termstore and all, but that isn't what I'm looking for.
I'm used to using _spPageContextInfo to get various useful bits of information about the current page and site. I often just type this into the console to refer to things and check some details that I need to confirm.
I seem to remember that there is some object that is available on every page something like that has words like friendly or segment or something like that in it. I've tried many combinations and search the code, but I'm not finding it. Searching google points out all kinds of things about setting up the navigation and JSOM/REST examples.