CMS-2604 Use module resolving for javascript services.