CMS-4017 Implement Javascript API for xslt module.