anchor.diff:                              <input name="addprofile" type="button" class="button" value="<fmt:message key='add'/>" onclick="validate();"/>
                               <input type="button" class="button"
                                     <%if ("true".equals(fromUserMgt)) {%>
  -                                   onclick="javascript:location.href='index.jsp?username=<%=Encode.forUriComponent(username)%>&fromUserMgt=true'"
  +                                   onclick="javascript:location.href='index.jsp?username='+
  +                                           '<%=Encode.forJavaScript(Encode.forUriComponent(username))%>&fromUserMgt=true'"
                                     <%}else{%>
                                      onclick="javascript:location.href='index.jsp?region=region5&item=userprofiles_menu&ordinal=0'"
                                     <%}%>
  
positive.code: <%@page import="org.wso2.carbon.identity.user.profile.stub.types.UserProfileDTO" %>
  <%@page import="org.wso2.carbon.identity.user.profile.ui.client.UserProfileCient" %>
  <%@page import="org.wso2.carbon.ui.CarbonUIMessage" %>
  <%@page import="org.wso2.carbon.ui.CarbonUIUtil"%><script type="text/javascript" src="extensions/js/vui.js"></script>
  <script type="text/javascript" src="../extensions/core/js/vui.js"></script>
  <script type="text/javascript" src="../admin/js/main.js"></script>
  
  <jsp:include page="../dialog/display_messages.jsp"/>
  <%@ page import="org.wso2.carbon.user.core.UserCoreConstants" %>
  
  <%
      String username = (String) request.getParameter("username");
  
negative.code:                                 %>
  		                        <td><input class="text-box-big"
  		                                   id="<%=Encode.forHtmlAttribute(userFields[i].getClaimUri())%>"
  		                                   name="<%=Encode.forHtmlAttribute(userFields[i].getClaimUri())%>" type="text">
                                  </td>
                                  <%
                                      } else {
                                  %>
                                  <td><input class="text-box-big"
  		                                   id="<%=Encode.forHtmlAttribute(userFields[i].getClaimUri())%>"
  		                                   name="<%=Encode.forHtmlAttribute(userFields[i].getClaimUri())%>" type="text"
                                             readonly="true"></td>
                                  <%
                                      }
                                  %>
  