CAP-144 Fix javascript error
CAP-144 Fix javascript error

bjagg/CalendarPortlet,Jasig/CalendarPortlet,manhattancollege/up-calendar-portlet,manhattancollege/up-calendar-portlet,Jasig/CalendarPortlet,bjagg/CalendarPortlet