CAL-740 [IE8] Can not add an event by right clicking in calendar

Fix description: use trim method of JQuery, instead of trim method of String. Because IE doesn't support trim method of String.