 					dontEnumsLength = dontEnums.length;
 					
 					return function (obj) {
-						if (typeof obj !== 'object' && (typeof obj !== 'function' || obj === null)) {
+						if (typeof obj !== 'object' && (typeof obj !== 'function' || obj === null))
 							throw new TypeError('Object.keys called on non-object');
-						}
 						
 						var result = [], prop, i;
 						
-						for (prop in obj) {
-							if (hasOwnProperty.call(obj, prop)) {
+						for (prop in obj)
+							if (hasOwnProperty.call(obj, prop))
 								result.push(prop);
-							}
-						}
 						
-						if (hasDontEnumBug) {
-							for (i = 0; i < dontEnumsLength; i++) {
-								if (hasOwnProperty.call(obj, dontEnums[i])) {
+						if (hasDontEnumBug)
+							for (i = 0; i < dontEnumsLength; i++)
+								if (hasOwnProperty.call(obj, dontEnums[i]))
 									result.push(dontEnums[i]);
-								}
-							}
-						}
 						return result;
 					};
 				}());
 			
 			if (!Function.prototype.bind)
 				Function.prototype.bind = function (oThis) {
-					if (typeof this !== "function") {
-						// closest thing possible to the ECMAScript 5
-						// internal IsCallable function
+					if (typeof this !== "function")
 						throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
-					}
 					
 					var aArgs = Array.prototype.slice.call(arguments, 1), 
 						fToBind = this, 

				ExternalInterface.addCallback(JSON_SUFFIX, trace);
				// find the element with the unique property name and get its ID (or set the ID if it doesn't have one)
				_objectID = ExternalInterface.call(
					"function(uid, newId){\
						while (document.getElementById(newId))\
							newId += '_';\
						var elements = document.getElementsByTagName('*');\
						for (var i in elements)\
							if (elements[i][uid])\
								return elements[i].id || (elements[i].id = newId);\
					}",
					JSON_SUFFIX,
					desiredId
				);

					function cacheProxyFunction(id) {
						var func = function() {
							var params = Array.prototype.slice.call(arguments);
							var paramsJson = toJson(params);
							try {
								var resultJson = flash[JSON_CALL](id, paramsJson);
							} catch (e) {
