issue #3690: Rewrite CCNS.js
Merge pull request #1485 from SmallAiTT/iss3690_ccns_dev3.0

issue #3690: Rewrite CCNS.js