PLF-6058: Top Navigation bar doesn't work in Catalan

Problem analysis:
* Some labels of "Space Navigation" and "Who is Online" have single quote/apostrophe in Catalan.
  When they are added as parameter of JavaScript, the single quote is misinterpreted as parameter separator.

Fix description:
* Escape the messages before adding it to JavaScript.
Merge commit '3e0fc8a084038f6e7adb3a1acc76b2ce6f610720' into HEAD