(function($){
    var _handler = [];
    
    $(document).ready(function(){
        $(_handler).each(function(i, it) {
            it.call($, document);
        });
    });

    $.fn.ready = function(fn) {
        _handler.push(fn);

        return this;
    };
})($);
