diff --git a/build/pom.xml b/build/pom.xml
index e57efb428e..4708bbcf87 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -68,18 +68,23 @@
href="${resourceUrl}/
- <head>
-
-<head>
- <script type="text/javascript">
- var loginRealm = "${loginRealm}";
- var authServerUrl = "${authServerUrl}";
- var authUrl = "${authUrl}";
- var consoleBaseUrl = "${consoleBaseUrl}";
- var resourceUrl = "${resourceUrl}";
- var masterRealm = "${masterRealm}";
- var resourceVersion = "${resourceVersion}";
- </script>
+ ]]>
+
+
+ {
+ "loginRealm": "${loginRealm}",
+ "authServerUrl": "${authServerUrl}",
+ "authUrl": "${authUrl}",
+ "consoleBaseUrl": "${consoleBaseUrl}",
+ "resourceUrl": "${resourceUrl}",
+ "masterRealm": "${masterRealm}",
+ "resourceVersion": "${resourceVersion}",
+ "isRunningAsTheme": true
+ }
+
+