fix UIRightClickPopupMenu.js for ECMS-4775