issue #3690: Rewrite CCNS.js
Merge pull request #1484 from SmallAiTT/iss3690_ccns_dev

issue #3690: Rewrite CCNS.js