Index: src/bp-core/js/cover-image.js
===================================================================
--- src/bp-core/js/cover-image.js	(revision 12535)
+++ src/bp-core/js/cover-image.js	(working copy)
@@ -4,7 +4,7 @@
 
 ( function( exports, $ ) {
 
-	// Bail if not set
+	// Bail if not set.
 	if ( typeof BP_Uploader === 'undefined' ) {
 		return;
 	}
@@ -16,7 +16,7 @@
 	bp.CoverImage = {
 		start: function() {
 
-			// Init some vars
+			// Init some vars.
 			this.views   = new Backbone.Collection();
 			this.warning = null;
 
@@ -23,13 +23,13 @@
 			// The Cover Image Attachment object.
 			this.Attachment = new Backbone.Model();
 
-			// Set up views
+			// Set up views.
 			this.uploaderView();
 
-			// Inform about the needed dimensions
+			// Inform about the needed dimensions.
 			this.displayWarning( BP_Uploader.strings.cover_image_warnings.dimensions );
 
-			// Set up the delete view if needed
+			// Set up the delete view if needed.
 			if ( true === BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image ) {
 				this.deleteView();
 			}
@@ -36,21 +36,21 @@
 		},
 
 		uploaderView: function() {
-			// Listen to the Queued uploads
+			// Listen to the Queued uploads.
 			bp.Uploader.filesQueue.on( 'add', this.uploadProgress, this );
 
-			// Create the BuddyPress Uploader
+			// Create the BuddyPress Uploader.
 			var uploader = new bp.Views.Uploader();
 
-			// Add it to views
+			// Add it to views.
 			this.views.add( { id: 'upload', view: uploader } );
 
-			// Display it
+			// Display it.
 			uploader.inject( '.bp-cover-image' );
 		},
 
 		uploadProgress: function() {
-			// Create the Uploader status view
+			// Create the Uploader status view.
 			var coverImageUploadProgress = new bp.Views.coverImageUploadProgress( { collection: bp.Uploader.filesQueue } );
 
 			if ( ! _.isUndefined( this.views.get( 'status' ) ) ) {
@@ -59,12 +59,12 @@
 				this.views.add( { id: 'status', view: coverImageUploadProgress } );
 			}
 
-			// Display it
+			// Display it.
 			coverImageUploadProgress.inject( '.bp-cover-image-status' );
 		},
 
 		deleteView: function() {
-			// Create the delete model
+			// Create the delete model.
 			var delete_model = new Backbone.Model( _.pick( BP_Uploader.settings.defaults.multipart_params.bp_params,
 				['object', 'item_id', 'nonces']
 			) );
@@ -74,13 +74,13 @@
 				return;
 			}
 
-			// Create the delete view
+			// Create the delete view.
 			var deleteView = new bp.Views.DeleteCoverImage( { model: delete_model } );
 
-			// Add it to views
+			// Add it to views.
 			this.views.add( { id: 'delete', view: deleteView } );
 
-			// Display it
+			// Display it.
 			deleteView.inject( '.bp-cover-image-manage' );
 		},
 
@@ -88,7 +88,7 @@
 			var self = this,
 				deleteView;
 
-			// Remove the delete view
+			// Remove the delete view.
 			if ( ! _.isUndefined( this.views.get( 'delete' ) ) ) {
 				deleteView = this.views.get( 'delete' );
 				deleteView.get( 'view' ).remove();
@@ -114,7 +114,7 @@
 
 				coverImageStatus.inject( '.bp-cover-image-status' );
 
-				// Reset the header of the page
+				// Reset the header of the page.
 				if ( '' === response.reset_url ) {
 					$( '#header-cover-image' ).css( {
 						'background-image': 'none'
@@ -125,11 +125,11 @@
 					} );
 				}
 
-				// Reset the has_cover_image bp_param
+				// Reset the has_cover_image bp_param.
 				BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image = false;
 
 				/**
-				 * Reset the Attachment object
+				 * Reset the Attachment object.
 				 *
 				 * You can run extra actions once the cover image is set using:
 				 * bp.CoverImage.Attachment.on( 'change:url', function( data ) { your code } );
@@ -182,7 +182,7 @@
 		}
 	};
 
-	// Custom Uploader Files view
+	// Custom Uploader Files view.
 	bp.Views.coverImageUploadProgress = bp.Views.uploaderStatus.extend( {
 		className: 'files',
 
@@ -197,7 +197,7 @@
 
 			if ( ! _.isUndefined( model.get( 'url' ) ) ) {
 
-				// Image is too small
+				// Image is too small.
 				if ( 0 === model.get( 'feedback_code' ) ) {
 					message = BP_Uploader.strings.cover_image_warnings.dimensions;
 					type    = 'warning';
@@ -213,16 +213,16 @@
 					type  : type
 				} ) );
 
-				// Update the header of the page
+				// Update the header of the page.
 				$( '#header-cover-image' ).css( {
 					'background-image': 'url( ' + model.get( 'url' ) + ' )'
 				} );
 
-				// Add the delete view
+				// Add the delete view.
 				bp.CoverImage.deleteView();
 
 				/**
-				 * Set the Attachment object
+				 * Set the Attachment object.
 				 *
 				 * You can run extra actions once the cover image is set using:
 				 * bp.CoverImage.Attachment.on( 'change:url', function( data ) { your code } );
@@ -238,7 +238,7 @@
 		}
 	} );
 
-	// BuddyPress Cover Image Feedback view
+	// BuddyPress Cover Image Feedback view.
 	bp.Views.CoverImageStatus = bp.View.extend( {
 		tagName: 'p',
 		className: 'updated',
@@ -255,7 +255,7 @@
 		}
 	} );
 
-	// BuddyPress Cover Image Delete view
+	// BuddyPress Cover Image Delete view.
 	bp.Views.DeleteCoverImage = bp.View.extend( {
 		tagName: 'div',
 		id: 'bp-delete-cover-image-container',
Index: src/bp-core/js/vendor/jquery-cookie.js
===================================================================
--- src/bp-core/js/vendor/jquery-cookie.js	(revision 12535)
+++ src/bp-core/js/vendor/jquery-cookie.js	(working copy)
@@ -8,13 +8,13 @@
  * Released under the MIT license
  */
 (function(factory) {
-	// AMD
+	// AMD.
 	if (typeof define === 'function' && define.amd) {
 		define(['jquery'], factory);
-	// CommonJS
+	// CommonJS.
 	} else if (typeof exports === 'object') {
 		factory(require('jquery'));
-	// Browser globals
+	// Browser globals.
 	} else {
 		factory(jQuery);
 	}
@@ -57,7 +57,7 @@
 
 	var config = $.cookie = function(key, value, options) {
 
-		// Write
+		// Write.
 
 		if (value !== undefined && !$.isFunction(value)) {
 			options = $.extend({}, config.defaults, options);
@@ -76,7 +76,7 @@
 			].join(''));
 		}
 
-		// Read
+		// Read.
 
 		var result = key ? undefined : {};
 
Index: src/bp-core/js/vendor/jquery-scroll-to.js
===================================================================
--- src/bp-core/js/vendor/jquery-scroll-to.js	(revision 12535)
+++ src/bp-core/js/vendor/jquery-scroll-to.js	(working copy)
@@ -12,13 +12,13 @@
  */
 
 (function(factory) {
-	// AMD
+	// AMD.
 	if (typeof define === 'function' && define.amd) {
 		define(['jquery'], factory);
-	// CommonJS
+	// CommonJS.
 	} else if (typeof exports === 'object') {
 		factory(require('jquery'));
-	// Browser globals
+	// Browser globals.
 	} else {
 		factory(jQuery);
 	}
@@ -35,13 +35,13 @@
 	};
 
 	// Returns the element that needs to be animated to scroll the window.
-	// Kept for backwards compatibility (specially for localScroll & serialScroll)
+	// Kept for backwards compatibility (specially for localScroll & serialScroll).
 	$scrollTo.window = function() {
 		return $(window)._scrollable();
 	};
 
 	// Hack, hack, hack :)
-	// Returns the real elements to scroll (supports window/iframes, documents and regular nodes)
+	// Returns the real elements to scroll (supports window/iframes, documents and regular nodes).
 	$.fn._scrollable = function() {
 		return this.map(function() {
 			var elem = this,
@@ -73,12 +73,12 @@
 		}
 
 		settings = $.extend({}, $scrollTo.defaults, settings);
-		// Speed is still recognized for backwards compatibility
+		// Speed is still recognized for backwards compatibility.
 		duration = duration || settings.duration;
-		// Make sure the settings are given right
+		// Make sure the settings are given right.
 		settings.queue = settings.queue && settings.axis.length > 1;
 
-		// Let's keep the overall duration
+		// Let's keep the overall duration.
 		if (settings.queue) {
 			duration /= 2;
 		}
@@ -88,7 +88,7 @@
 
 		return this._scrollable().each(function() {
 
-			// Null target yields nothing, just like jQuery does
+			// Null target yields nothing, just like jQuery does.
 			if (target === null) {
 				return;
 			}
@@ -99,7 +99,7 @@
 					win = $elem.is('html,body');
 
 			switch (typeof targ) {
-				// A number will pass the regex
+				// A number will pass the regex.
 				case 'number':
 				case 'string':
 					if (/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)) {
@@ -114,9 +114,9 @@
 					}
 					/* falls through */
 				case 'object':
-					// DOMElement / jQuery
+					// DOMElement / jQuery.
 					if (targ.is || targ.style) {
-						// Get the real position of the target
+						// Get the real position of the target.
 						toff = (targ = $(targ)).offset();
 					}
 			}
@@ -130,10 +130,10 @@
 						old = elem[key],
 						max = $scrollTo.max(elem, axis);
 
-				if (toff) {// jQuery / DOMElement
+				if (toff) { // jQuery / DOMElement.
 					attr[key] = toff[pos] + (win ? 0 : old - $elem.offset()[pos]);
 
-					// If it's a dom element, reduce the margin
+					// If it's a dom element, reduce the margin.
 					if (settings.margin) {
 						attr[key] -= parseInt(targ.css('margin' + Pos)) || 0;
 						attr[key] -= parseInt(targ.css('border' + Pos + 'Width')) || 0;
@@ -141,29 +141,29 @@
 
 					attr[key] += offset[pos] || 0;
 
-					// Scroll to a fraction of its width/height
+					// Scroll to a fraction of its width/height.
 					if (settings.over[pos]) {
 						attr[key] += targ[axis === 'x' ? 'width' : 'height']() * settings.over[pos];
 					}
 				} else {
 					var val = targ[pos];
-					// Handle percentage values
+					// Handle percentage values.
 					attr[key] = val.slice && val.slice(-1) === '%' ?
 							parseFloat(val) / 100 * max
 							: val;
 				}
 
-				// Number or 'number'
+				// Number or 'number'.
 				if (settings.limit && /^\d+$/.test(attr[key])) {
 					// Check the limits
 					attr[key] = attr[key] <= 0 ? 0 : Math.min(attr[key], max);
 				}
 
-				// Queueing axes
+				// Queueing axes.
 				if (!i && settings.queue) {
 					// Don't waste time animating, if there's no need.
 					if (old !== attr[key]) {
-						// Intermediate animation
+						// Intermediate animation.
 						animate(settings.onAfterFirst);
 					}
 					// Don't animate this axis again in the next iteration.
@@ -203,6 +203,6 @@
 		return $.isFunction(val) || typeof val === 'object' ? val : {top: val, left: val};
 	}
 
-	// AMD requirement
+	// AMD requirement.
 	return $scrollTo;
 }));
\ No newline at end of file
