diff --git a/src/main/java/org/olat/core/gui/control/winmgr/AjaxController.java b/src/main/java/org/olat/core/gui/control/winmgr/AjaxController.java
index 045f2a9ea382776958a001611eb913d6f871bc69..70a6afdb39be843db09026632a128dc17f1a600a 100644
--- a/src/main/java/org/olat/core/gui/control/winmgr/AjaxController.java
+++ b/src/main/java/org/olat/core/gui/control/winmgr/AjaxController.java
@@ -272,7 +272,7 @@ public class AjaxController extends DefaultController {
 		if (wrapHTML) {
 			// most ajax responses are a lot smaller than 16k
 			StringBuilder sb = new StringBuilder(16384);
-			sb.append("<html><head><script type=\"text/javascript\">\n/* <![CDATA[ *//*\nfunction invoke(){var r=")
+			sb.append("<html><head><script type=\"text/javascript\">\n/* <![CDATA[ */\nfunction invoke(){var r=")
 				.append(jsonText).append("; ") 
 				.append("if (parent!=self&&parent.window.o_info){")
 				.append("parent.window.o_ainvoke(r);")
@@ -293,7 +293,7 @@ public class AjaxController extends DefaultController {
 					//.append("window.open(self.location+\"?o_win_jsontop=1\"); this.close();")
 					//.append("this.document.location=self.location+\"?o_win_jsontop=1\";")
 				.append("}}")
-				.append("\n/* ]]> *//*\n</script></head><body onLoad=\"invoke()\">");
+				.append("\n/* ]]> */\n</script></head><body onLoad=\"invoke()\">");
 					if (showJSON) {
 						try {
 							sb.append("<pre style=\"font-size:12px;\">len:").append(jsonText.length()).append(":\n").append(StringEscapeUtils.escapeHtml(json.toString(2))).append("</pre>");