code: function() {
                      var script = doc.createElement('script');
                      script.onreadystatechange = function() {
                          script.parentNode.removeChild(script);
                          script = script.onreadystatechange = null;
                          callFns();
                  };
                  (doc.documentElement || doc.body).appendChild(script);
              }
docs: ie6-ie8