Refs #14931 - Fix JS to work with plone.app.workflowmanager