CMS-4089 Remove use of ScriptContributor.