Index: /CKEditor/trunk/_source/core/dom/range.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/range.js	(revision 4693)
+++ /CKEditor/trunk/_source/core/dom/range.js	(revision 4694)
@@ -1487,5 +1487,5 @@
 		{
 			if ( !this.collapsed )
-				return;
+				return null;
 
 			// Extract the contents of the block from the selection point to the end
Index: /CKEditor/trunk/_source/plugins/domiterator/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/domiterator/plugin.js	(revision 4693)
+++ /CKEditor/trunk/_source/plugins/domiterator/plugin.js	(revision 4694)
@@ -26,5 +26,5 @@
 
 		this._ || ( this._ = {} );
-	};
+	}
 
 	var beginWhitespaceRegex = /^[\r\n\t ]+$/,
@@ -243,5 +243,5 @@
 				}
 
-				startPath = new CKEDITOR.dom.elementPath( range.startContainer );
+				var startPath = new CKEDITOR.dom.elementPath( range.startContainer );
 				var startBlockLimit = startPath.blockLimit,
 					checkLimits = { div : 1, th : 1, td : 1 };
