removed json-loader (but saved the loadJson() function in helper)

- also eliminated TONS of unused vars in main-vars.js
- there is room for more cleanup there.

Signed-off-by: William Rockwood <wrockwood@tadl.org>