Index: bp-friends-cssjs.php
===================================================================
--- bp-friends-cssjs.php	(revision 141)
+++ bp-friends-cssjs.php	(working copy)
@@ -5,12 +5,7 @@
  Inserts the Javascript needed for managing friends.
  **************************************************************************/	
 
-function friends_add_js() {
-	global $bp_friends_image_base;
-	?>
-	
-	<?php
-}
+function friends_add_js() {}
 
 
 /**************************************************************************
Index: bp-friends-templatetags.php
===================================================================
--- bp-friends-templatetags.php	(revision 141)
+++ bp-friends-templatetags.php	(working copy)
@@ -11,7 +11,7 @@
 
 function bp_list_friends() { 
 	$bp_friends = new BP_Friends();
-	$friends = $bp_friends->get_friends();
+	$bp_friends->get_friends();
 }
 
 function bp_validate_friend_search_terms() {
@@ -32,13 +32,18 @@
 
 function bp_output_find_friends_message($message) {
 	if ( isset($message) ) {
-		if($type == 'error') { $type = "error"; } else { $type = "updated"; } ?>
+		if($type == 'error') {
+			$type = "error";
+		} else {
+			$type = "updated"; 
+		} 
+		?>
 			<div id="message" class="<?php echo $type; ?>">
 				<p><?php echo $message; ?></p>
-			</div> <?php
+			</div>
+		<?php
 		return true;
-	} else {
-		return false;
-	}
+	} 
+	return false;
 }
 ?>
