CAL-962: Javascript error when adding an event from Quick Creation menu in Italian

Problem analysis:
* The Italian translation has an apostrophe. This message is then added in JavaScript.

Fix description:
* Escape the message before adding it to JavaScript.