[TIDOC-1898] Initial work
[TIDOC-1898] Refactor export
Merge pull request #6242 from bhatfield/tidoc-1898

[TIDOC-1898] JavaScript version of "docgen -f jsduck"