Heres an example of what im working on at the minute for my own personal framework

PHP Code: 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Untitled Document</title>
<
script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
    CORE = {
        INIT : function(){
            google.load("jquery"    ,"1");
            google.load("jqueryui"    ,"1");
            /*Load the JQuery Startup*/
            google.setOnLoadCallback(
                CORE.CONSTRUCT_FRAMWORKS
            );
        },
        CONSTRUCT_FRAMWORKS : function(){
            CORE.FRAMEWORKS.INIT();
        }
    }
    CORE.FRAMEWORKS = {
        INIT : function(){
            CORE.FRAMEWORKS.JQ(); // Load JQuery
            CORE.FRAMEWORKS.JQUI(); // Load JQuery
        },
        /*
            *
            * Each Framwork has its own position in the objects and you can cunstruct your code within each 
            * Framwork, where it will be run on Document Ready.
            *
        */
        JQ : function(){
            $("#draggable-div").draggable({"handle": "div"});
        },
        JQUI : function(){
        }
    }
    CORE.INIT();
</script>
</head>
<body>
    <div id="draggable-div" style="width:100px;border:1px solid #999;">
        <div style="background-color:#999">dragme</div>
        content
    </div>
</body>
</html>