published sample code that explains how to develop ExtendScript under CEP and modern JavaScript environment
https://github.com/tokyosheep/modernCEPEnvironment