anchor.diff:  					var jsonObj = JSON.stringify(formData);
   					NC.log('...... CREATE : ' + jsonObj);
   					new NC.ActivityTypes().create(jsonObj, function(data) {
  -						
  -						showUnit(data.data.unit.value);
   						$('input[name="activityType"]').attr('value', data.data.name);
   						$('input[name="activityTypeId"]').attr('value', data.data.id);
   						$('input[name="activityGoal"]').focus();
  
positive.code: 				});
  				
  				var types = NC.ActivityTypes();
  				var showUnit = function(name) {
  					NC.log("Selected " + name);
  					$('span.unit').html('<strong>(' + name + ')</strong>');
  				}
  				
  				/*
  				 * Auto complete activity type field
  
negative.code: 						types.search(request.term, function(data) {
  							NC.log("Found " + data.data.length + " activity types");
  							response($.map(data.data, function(item) {
  								return { label : item.name + ' (' + item.category.name + ')', value : item.name, id : item.id}
  							}));
  						});
  					},
  					select : function(event, ui) {
  						$('input[name="activityTypeId"]').attr('value', ui.item.id);
  						$('input[name="activityGoal"]').focus();
  					}
  