Lint

Working towards removing all JSHint errors so that we can check that as a test for future PRs.
Should we switch this over to use `addModule` to avoid `m_chp` floating around in global?