Refactor #3690: Move CCNS.js content into CCCommon.js