CAL-975 extract UIContextMenu from UICalendarPortlet.js