Move CCFormatHelper’s content into CCCommon.js

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