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.