Prefer already parsed smaller .js topic tree data

Test Plan:
- None
Add support for loading topic tree data in js and json format

Test Plan:
- None
Add support for string quoting for js output and reduce size of json output w/ numbers for applicable values

Test Plan:
- Make sure output can be parsed
Add support for dynamically including js output via a script tag

The xhr + eval doesn't work for privileged apps because of a CSP

Test Plan:
- Load app, make sure topic tree loads fine