COMMONS-312: Provide JS sanitization utility to avoid XSS attack

Fix description:
	- Replace characters relating to XSS attack by their HTML code