Revert "[misc] Remove useless code"

This reverts commit 2d1e6e601545062c70a74ac9c33d58a88b59e81c.
Revert "XCOMMONS-611: Remove unecessary CSS/JS comments around CDATA tags."

This reverts commit 938226eee0ba92970e4e4552c2df8ec96557f069.
Revert "XCOMMONS-611: Remove unecessary CSS/JS comments around CDATA tags."

This reverts commit 8ed54fd3a1fdc69366531924e01ac0d813a8a59d.
XCOMMONS-612: Invalid inline JS generated by the HTMLCleaner (for Internet Explorer).