anchor.diff:            Iterator codes = pubDetail.getTranslations().keySet().iterator();
             while (codes.hasNext()) {
               lang = (String) codes.next();
  -            out.println("var name_" + lang + " = \"" + Encode.javaStringToJsString(pubDetail.getName(lang)) + "\";\n");
  -            out.println("var desc_" + lang + " = \"" + Encode.javaStringToJsString(pubDetail.getDescription(lang)) + "\";\n");
  -            out.println("var keys_" + lang + " = \"" + Encode.javaStringToJsString(pubDetail.getKeywords(lang)) + "\";\n");
  +            out.println("var name_" + lang + " = \"" + EncodeHelper.javaStringToJsString(pubDetail.getName(lang)) + "\";\n");
  +            out.println("var desc_" + lang + " = \"" + EncodeHelper.javaStringToJsString(pubDetail.getDescription(lang)) + "\";\n");
  +            out.println("var keys_" + lang + " = \"" + EncodeHelper.javaStringToJsString(pubDetail.getKeywords(lang)) + "\";\n");
             }
           }
         %>
  
positive.code:       }
  
        function deleteCloneConfirm() {
          if(window.confirm("<%=Encode.javaStringToJsString(resources.getString("kmelia.ConfirmDeleteClone"))%>")){
            document.toRouterForm.action = "<%=routerUrl%>DeleteClone";
            document.toRouterForm.submit();
          }
  
negative.code:       <%
           if (!"Valid".equals(pubDetail.getStatus())) {
        %>
            if (window.confirm("<%=EncodeHelper.javaStringToJsString(resources.getString("kmelia.AlertButPubNotValid"))%>"    ))
                {
                  goToOperationInAnotherWindow('ToAlertUser', '<%=id%>', 'ViewAlert');
                }
  