alReady = function( fn ) {
  var add = "addEventListener"
    , win = this
    , doc = win.document
    , pre = doc[ add ] ? "" : "on";
    
  /m/( doc.readyState ) ? fn() :

  "load DOMContentLoaded readystatechange".replace( /\w+/g, function( type, i ) {
    ( i ? doc : win )
      [ pre ? "attachEvent" : add ]
      (
        pre + type,
        function(){ if ( fn ) if ( i < 6 || /m/( doc.readyState ) ) fn(), fn = 0 },
        !1
      )
  })
}
@@ -136,21 +136,17 @@
 %0A    %0A  
-/m/( 
+~
 doc.read
@@ -151,16 +151,29 @@
 adyState
+.indexOf( %22m%22
  ) ? fn(
@@ -393,13 +393,9 @@
  %7C%7C 
-/m/( 
+~
 doc.
@@ -404,16 +404,29 @@
 adyState
+.indexOf( %22m%22
  ) ) fn(

use .indexOf instead of .test. closes #3.