anchor.diff:  		name="targetUserId" value="${user.uuid}" />
   </form>
   
  +<form action="./search/casesbytagvalue" method="POST" id="searchTagForm">
  +	<input type="hidden" name="searchStr" value=""/>
  +</form>
  +
   
   <!-- jquery scripts for dialogs etc TODO move to separate js file -->
   <script type="text/javascript" charset="utf-8">
  
positive.code: 	}
  	
  	function refreshCommentFeed(comments) {
         for (var i=0;i<comments.length;i++) {
      	   var commentDate = new Date(comments[i].timestamp);
  	       $("#commentfeed").append("<li><b>" + $.datepicker.formatDate('yy-mm-dd', commentDate) + " (" + comments[i].activityLabel + ") " + comments[i].user.label + ": </b><br/>" + comments[i].message + "</li>");
  
negative.code: 	}
  
  	$("#myTags").tagit({
  	       onTagClicked: function(event, ui) {
               // do something special
               $("#searchTagForm input[name='searchStr']").val(ui.tagLabel);
               $("#searchTagForm").submit();
             },
             beforeTagRemoved: function(event, ui) {
               // do something special
  	         siteAjaxPost("/site/restservices/site-ajax/deleteTag", {
  		          processInstanceUuid : '${activity.processInstanceUuid}',
  		          value: ui.tagLabel
                    
  	           }, function(data) {
  		         refreshTags(data);
                 }
  	         );
             },
             beforeTagAdded: function(event, ui) {
               // do something special
  		     if (ui.duringInitialization) {
  		       console.log("init tag " + ui.tag.tagLabel);
  		     }
               else {
                  console.log("added " + ui.tag.tagLabel);
    	            siteAjaxPost("/site/restservices/site-ajax/addTag", {
  		              processActivityFormInstanceId : '${activity.processActivityFormInstanceId}',
                        tagTypeId : '10000',
  		              value: ui.tagLabel
  	               }, function(data) {
  		              refreshTags(data);
                     }
  	            );
                }
             }
          });
  