fixes #4254 Script error raising when loading content tab
Merge pull request #4287 from dotCMS/issue-4254-script-error-raising-when-loading-content-tab

fixes #4254 Script error raising when loading content tab