diff --git a/src/dom.js b/src/dom.js
old mode 100644
new mode 100755
index 2416598..55f1b57
--- a/src/dom.js
+++ b/src/dom.js
@@ -49,11 +49,11 @@ if (!Node.ELEMENT_NODE) {
     tagName = tagName.toLowerCase();
     var cache = Element.cache;
     if (Prototype.Browser.IE && (attributes.name || attributes.type)) {
-	  tagName = '<' + tagName +
-	    (attributes.name ? ' name="' + attributes.name + '"' : '') +
-	      (attributes.type ? ' type="' + attributes.type + '"' : '') + '>';
-	  delete attributes.name; delete attributes.type;
-	  return Element.writeAttribute(document.createElement(tagName), attributes);
+      tagName = '<' + tagName +
+      (attributes.name ? ' name="' + attributes.name + '"' : '') +
+      (attributes.type ? ' type="' + attributes.type + '"' : '') + '>';
+      delete attributes.name; delete attributes.type;
+      return Element.writeAttribute(document.createElement(tagName), attributes);
     }
     if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName));
     return Element.writeAttribute(cache[tagName].cloneNode(false), attributes);
@@ -89,7 +89,7 @@ Element.Methods = {
     if (element._originalDisplay) { 
       element.style.display = element._originalDisplay; 
       element._originalDisplay = null; 
- 	} else element.style.display = '';
+    } else element.style.display = '';
     return element;
   },
 
@@ -622,7 +622,7 @@ Element.Methods = {
   },
   
   getOffsetParent: function(element) {
-  	element = $(element);
+    element = $(element);
     var op = element.offsetParent;
     if (op && op != document.documentElement) return $(op);
 
diff --git a/src/event.js b/src/event.js
old mode 100644
new mode 100755
index 52196eb..a9ed7f3
--- a/src/event.js
+++ b/src/event.js
@@ -252,11 +252,11 @@ Object.extend(Event, (function() {
     
     // Ensure window onload is fired after "dom:loaded"
     addEventDispatcher(window, 'load', function(proceed, event) {
-    	if (document.loaded) {
-    	  proceed(event);
-    	} else {
-    	  arguments.callee.defer(proceed, event);
-    	}
+      if (document.loaded) {
+        proceed(event);
+      } else {
+        arguments.callee.defer(proceed, event);
+      }
     });
     
     // Ensure window onresize is fired only once per resize
diff --git a/src/string.js b/src/string.js
old mode 100644
new mode 100755
index 7adff12..ff42869
--- a/src/string.js
+++ b/src/string.js
@@ -64,11 +64,11 @@ Object.extend(String.prototype, {
   },
   
   extractScripts: (function() {
-  	var matchAll = new RegExp(Prototype.ScriptFragment, 'ig');
+    var matchAll = new RegExp(Prototype.ScriptFragment, 'ig');
     var matchOne = new RegExp(Prototype.ScriptFragment, 'i');
     var matchComments = new RegExp('<!--\\s*' + Prototype.ScriptFragment + '\\s*-->', 'i');
     
-  	return function() {
+    return function() {
       if (this.indexOf('<script') == -1) return [];
       return (this.replace(matchComments, '').match(matchAll) || []).map(function(scriptTag) {
         return (scriptTag.match(matchOne) || ['', ''])[1];
