CMS-4066 Implement ScriptService using Nashorn.