CAL-228 Clean UICalendarPortlet.js concerning Desktop mode