fixes #4822
Merge pull request #4835 from dotCMS/issue-4822-reuse-mutli-content-type-js-language-fail

fixes #4822