Index: /CKEditor/trunk/_source/core/_bootstrap.js
===================================================================
--- /CKEditor/trunk/_source/core/_bootstrap.js	(revision 3710)
+++ /CKEditor/trunk/_source/core/_bootstrap.js	(revision 3711)
@@ -23,5 +23,5 @@
 
 	// Update CKEDITOR.env.
-	if ( CKEDITOR.env.hc = ( hcDetect.getComputedStyle( 'background-image' ) == 'none' ) )
+	if ( ( CKEDITOR.env.hc = ( hcDetect.getComputedStyle( 'background-image' ) == 'none' ) ) )
 		CKEDITOR.env.cssClass += ' cke_hc';
 
Index: /CKEditor/trunk/_source/core/dom/range.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/range.js	(revision 3710)
+++ /CKEditor/trunk/_source/core/dom/range.js	(revision 3711)
@@ -305,5 +305,5 @@
 		       && node.getName() in CKEDITOR.dtd.$removeEmpty
 			   || node.getParent().hasAttribute( '_fck_bookmark' );
-	};
+	}
 
 	CKEDITOR.dom.range.prototype =
@@ -1134,6 +1134,8 @@
 
 					// Enlarging the start boundary.
-					var walkerRange = new CKEDITOR.dom.range( this.document ),
-							body = this.document.getBody();
+					var walkerRange = new CKEDITOR.dom.range( this.document );
+					
+					body = this.document.getBody();
+					
 					walkerRange.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
 					walkerRange.setEnd( this.startContainer, this.startOffset );
@@ -1189,5 +1191,5 @@
 					blockBoundary = null;
 					// End the range right before the block boundary node.
-					;
+
 					if ( ( enlargeable = walker.lastForward() ) )
 					{
Index: /CKEditor/trunk/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/dialog/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/dialog/plugin.js	(revision 3711)
@@ -1,3 +1,3 @@
-﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
Index: /CKEditor/trunk/_source/plugins/domiterator/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/domiterator/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/domiterator/plugin.js	(revision 3711)
@@ -68,6 +68,6 @@
 			}
 
-			var currentNode = this._.nextNode,
-				lastNode = this._.lastNode;
+			var currentNode = this._.nextNode;
+			lastNode = this._.lastNode;
 
 			this._.nextNode = null;
Index: /CKEditor/trunk/_source/plugins/find/dialogs/find.js
===================================================================
--- /CKEditor/trunk/_source/plugins/find/dialogs/find.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/find/dialogs/find.js	(revision 3711)
@@ -403,4 +403,5 @@
 				}
 
+				return null;
 			},
 
Index: /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js	(revision 3711)
@@ -87,5 +87,5 @@
 	var defaultDataBlockFilterRules = { elements : {} };
 
-	for ( var i in blockLikeTags )
+	for ( i in blockLikeTags )
 		defaultDataBlockFilterRules.elements[ i ] = extendBlockForDisplay;
 
@@ -174,5 +174,5 @@
 	var defaultHtmlBlockFilterRules = { elements : {} };
 	
-	for ( var i in blockLikeTags )
+	for ( i in blockLikeTags )
 		defaultHtmlBlockFilterRules.elements[ i ] = extendBlockForOutput;
 
Index: /CKEditor/trunk/_source/plugins/resize/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/resize/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/resize/plugin.js	(revision 3711)
@@ -40,5 +40,5 @@
 			var mouseDownFn = CKEDITOR.tools.addFunction( function( $event )
 				{
-					if ( container == null )
+					if ( !container )
 						container = editor.getResizable();
 
Index: /CKEditor/trunk/_source/plugins/richcombo/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/richcombo/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/richcombo/plugin.js	(revision 3711)
@@ -1,3 +1,3 @@
-﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
@@ -272,5 +272,5 @@
 					me._.on = 0; 
 					me.setState( CKEDITOR.TRISTATE_OFF ); 
-				}
+				};
 
 			if ( this.init )
Index: /CKEditor/trunk/_source/plugins/scayt/dialogs/options.js
===================================================================
--- /CKEditor/trunk/_source/plugins/scayt/dialogs/options.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/scayt/dialogs/options.js	(revision 3711)
@@ -26,5 +26,5 @@
 
 		// Add buttons titles
-		for ( var i in buttons )
+		for ( i in buttons )
 		{
 			var button = buttons[ i ];
@@ -108,5 +108,5 @@
 
 		// user dictionary handlers
-		dic = {};	   
+		var dic = {};	   
 		dic.dic_create = function( el, dic_name , dic_buttons )
 			{
@@ -134,5 +134,5 @@
 						});
 				
-			}
+			};
 			
 		dic.dic_rename = function( el, dic_name , dic_buttons )
@@ -157,7 +157,7 @@
 							err_massage = err_massage.replace("%s" , arg.dname  );
 							set_dic_name( dic_name );
-							dic_error_message (err_massage + "( "+ (arg.message || "") +" )")
+							dic_error_message( err_massage + "( " + ( arg.message || "" ) + " )" );
 						});
-			}
+			};
 			
 		dic.dic_delete = function ( el, dic_name , dic_buttons )
@@ -185,5 +185,6 @@
 							dic_error_message(err_massage);
 						});
-			}
+			};
+
 		dic.dic_restore = dialog.dic_restore || function ( el, dic_name , dic_buttons )
 			{
@@ -208,15 +209,18 @@
 							dic_error_message( err_massage );
 						});
-			}
-		 // ** bind event listeners
-		 var arr_buttons = (dic_buttons[0] + ',' +dic_buttons[1]).split(',');
-		 for (i=0, l=arr_buttons.length; i<l ; i+=1)
+			};
+
+		// ** bind event listeners
+		var arr_buttons = ( dic_buttons[0] + ',' + dic_buttons[1] ).split( ',' ),
+			l;
+
+		for ( i = 0, l = arr_buttons.length ; i < l ; i += 1 )
 		{
 		 	var dic_button = doc.getById(arr_buttons[i]);
 
-			dic_button.on('click', function ()
+			dic_button.on( 'click', function ()
 				{
 					var dic_name = doc.getById('dic_name').getValue();
-					if (!dic_name)
+					if ( !dic_name )
 					{
 						dic_error_message(" Dictionary name should not be empty. ");
@@ -224,5 +228,7 @@
 					}
 					//apply handler
-					dic[this.getId()].apply( null, [this, dic_name, dic_buttons ] );
+					dic[ this.getId() ].apply( null, [ this, dic_name, dic_buttons ] );
+					
+					return true;
 				});
 		}
@@ -272,6 +278,5 @@
 				});
 
-		dic_success_message("")
-		var dic_flag = 0; 
+		dic_success_message("");
 	};
 
@@ -299,7 +304,7 @@
 			sIds = new String( sIds );
 			var aIds = sIds.split(',');
-			for ( var i=0, l = aIds.length; i < l ; i+=1)
-			{
-				doc.getById( aIds[i] ).$.style.display = "none"
+			for ( var i = 0, l = aIds.length; i < l ; i += 1 )
+			{
+				doc.getById( aIds[i] ).$.style.display = "none";
 			}
 		}
@@ -354,5 +359,5 @@
 				for ( var oN in this.options ) 
 				{
-					if (o[oN] != this.options[ oN ] && c == 0 )
+					if (o[oN] != this.options[ oN ] && c === 0 )
 					{
 						scayt_control.option( this.options );
Index: /CKEditor/trunk/_source/plugins/scayt/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/scayt/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/scayt/plugin.js	(revision 3711)
@@ -51,7 +51,8 @@
 			{
 				// Remove scripts.
-				var scripts = CKEDITOR.document.getElementsByTag( 'script' );
-				scaytIdRegex =  /^dojoIoScript(\d+)$/i;
-				scaytSrcRegex =  /^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;
+				var scripts = CKEDITOR.document.getElementsByTag( 'script' ),
+					scaytIdRegex =  /^dojoIoScript(\d+)$/i,
+					scaytSrcRegex =  /^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;
+
 				for ( var i=0; i < scripts.count(); i++ )
 				{
@@ -158,6 +159,6 @@
 				{
 					var m = data.match(/(.*)[\/\\]([^\/\\]+\.\w+)$/);
-					return {path: m[1], file: m[2]}
-				}
+					return { path: m[1], file: m[2] };
+				};
 
 			// compose scayt url
@@ -168,5 +169,5 @@
 			var scaytConfigBaseUrl = parseUrl(scaytUrl).path +  "/";
 
-			djScaytConfig = 
+			var djScaytConfig = 
 			{
 				baseUrl: scaytConfigBaseUrl,
@@ -191,4 +192,6 @@
 					})
 			);
+			
+			return null;
 		}
 	};
@@ -354,5 +357,5 @@
 							_r = {},
 							items_suggestion = scayt.getSuggestion( word, sLang );
-						if (!items_suggestion || !items_suggestion.length || items_suggestion.length == 0 )
+						if (!items_suggestion || !items_suggestion.length )
 							return null;
 						// Remove unused commands and menuitems
@@ -369,5 +372,6 @@
 						moreSuggestions = {};		// Reset items.
 						mainSuggestions = {};
-						moreSuggestionsUnable = false;
+						
+						var moreSuggestionsUnable = false;
 
 						for ( var i = 0, l = items_suggestion.length; i < l; i += 1 )
Index: /CKEditor/trunk/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/selection/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/selection/plugin.js	(revision 3711)
@@ -1,3 +1,3 @@
-﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
@@ -877,11 +877,8 @@
 			    retval.push( bookmark = ranges[ i ].createBookmark( serializable, true ) );
 
-				var serializable = bookmark.serializable,
-					bookmarkStart = serializable ?
-						this.document.getById( bookmark.startNode )
-						: bookmark.startNode,
-					bookmarkEnd = serializable ?
-					  this.document.getById( bookmark.endNode )
-					  : bookmark.endNode;
+				serializable = bookmark.serializable;
+				
+				var bookmarkStart = serializable ? this.document.getById( bookmark.startNode ) : bookmark.startNode,
+					bookmarkEnd = serializable ? this.document.getById( bookmark.endNode ) : bookmark.endNode;
 
 			    // Updating the offset values for rest of ranges which have been mangled(#3256).
Index: /CKEditor/trunk/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 3711)
@@ -565,5 +565,5 @@
 			{
 				var clonedElement = startNode;
-				for ( var i = 0 ;; i++ )
+				for ( i = 0 ;; i++ )
 				{
 					var newElement = startPath.elements[ i ];
Index: /CKEditor/trunk/_source/plugins/uicolor/dialogs/uicolor.js
===================================================================
--- /CKEditor/trunk/_source/plugins/uicolor/dialogs/uicolor.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/uicolor/dialogs/uicolor.js	(revision 3711)
@@ -18,5 +18,5 @@
 		// Refresh picker UI.
 		picker.refresh( 'cke_uicolor_picker' );
-	};
+	}
 
 	function setNewUiColor( color, force )
@@ -28,5 +28,5 @@
 			'config.uiColor = "#' + picker.get( "hex" ) + '"'
 		);
-	};
+	}
 
 	pickerContents =
@@ -130,5 +130,5 @@
 												[ 'Light blue', '#9AB8F3' ],
 												[ 'Sand', '#D2B48C' ],
-												[ 'Metallic', '#949AAA', ],
+												[ 'Metallic', '#949AAA' ],
 												[ 'Purple', '#C2A3C7' ],
 												[ 'Olive', '#A2C980' ],
@@ -147,5 +147,5 @@
 												[ 'Mark Twain', '#CFE91D' ],
 												[ 'Specks of dust', '#D1B596' ],
-												[ 'Lollipop', '#F6CE23' ],
+												[ 'Lollipop', '#F6CE23' ]
 											],
 											onChange : function()
@@ -192,5 +192,5 @@
 								}
 							]
-						},
+						}
 					]
 			}
Index: /CKEditor/trunk/_source/plugins/uicolor/yui/yui.js
===================================================================
--- /CKEditor/trunk/_source/plugins/uicolor/yui/yui.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/uicolor/yui/yui.js	(revision 3711)
@@ -1,2 +1,3 @@
+/*jsl:ignoreall*/
 /*
 Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Index: /CKEditor/trunk/_source/plugins/undo/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/undo/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/undo/plugin.js	(revision 3711)
@@ -116,5 +116,5 @@
 				// Create the first image.
 				editor.fire( 'saveSnapshot' );
-			}
+			};
 		}
 	});
@@ -371,5 +371,5 @@
 				// document contents, then IE would create an empty paragraph at the bottom
 				// the next time the document is modified.
-				$range = this.editor.document.getBody().$.createTextRange();
+				var $range = this.editor.document.getBody().$.createTextRange();
 				$range.collapse( true );
 				$range.select();
Index: /CKEditor/trunk/_source/plugins/wsc/dialogs/tmpFrameset.html
===================================================================
--- /CKEditor/trunk/_source/plugins/wsc/dialogs/tmpFrameset.html	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/wsc/dialogs/tmpFrameset.html	(revision 3711)
@@ -23,7 +23,7 @@
 }
 
-function tryLoad ()
+function tryLoad()
 {
-	opener = window.parent;
+	var opener = window.parent;
 
     // get access to global parameters
Index: /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 3710)
+++ /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 3711)
@@ -80,12 +80,16 @@
 				clone = !i && element || element.clone( true );
 
-				// If we're inserting a block at dtd-violated positoin, split
+				// If we're inserting a block at dtd-violated position, split
 				// the parent blocks until we reach blockLimit.
 				var parent, dtd;
 				if ( this.config.enterMode != CKEDITOR.ENTER_BR && isBlock )
+				{
 					while( ( parent = range.getCommonAncestor( false, true ) )
 							&& ( dtd = CKEDITOR.dtd[ parent.getName() ] )
 							&& !( dtd && dtd [ elementName ] ) )
+					{
 						range.splitBlock();
+					}
+				}
 
 				// Insert the new node.
@@ -150,6 +154,8 @@
 				var brNodeList = fixedBlock.getElementsByTag( 'br' ), brNode;
 				for ( var i = 0 ; i < brNodeList.count() ; i++ )
+				{
 					if( ( brNode = brNodeList.getItem( i ) ) && brNode.hasAttribute( '_cke_bogus' ) )
 						brNode.remove();
+				}
 			}
 
Index: /CKEditor/trunk/_source/skins/kama/skin.js
===================================================================
--- /CKEditor/trunk/_source/skins/kama/skin.js	(revision 3710)
+++ /CKEditor/trunk/_source/skins/kama/skin.js	(revision 3711)
@@ -27,5 +27,5 @@
 			{
 				if ( !menuHead )
-					return;
+					return null;
 
 				var uiStyle = menuHead.append('style');
@@ -177,5 +177,5 @@
 						menuSetUiColor( editor.getUiColor() );
 					}
-				}
+				};
 			}
 
Index: /CKEditor/trunk/_source/tests/core/htmlparser/htmlparser.html
===================================================================
--- /CKEditor/trunk/_source/tests/core/htmlparser/htmlparser.html	(revision 3710)
+++ /CKEditor/trunk/_source/tests/core/htmlparser/htmlparser.html	(revision 3711)
@@ -40,6 +40,5 @@
 	}
 
-	return
-	{
+	return {
 		/**
 		 * Test <pre> tag formatting.
