fixes #4367
Merge pull request #4374 from dotCMS/issue-4367-js-error-with-autoupdater-for-non-cmsadmin-users

fixes #4367