using this in json-styled javascript
<p>Recently, I'm coding javascript with little knowledge of it.</p>

<p>And here's my first javascript code which written this morning.</p>

<pre><code>$(window).load(function(){
    SubMenuHandler.init();
});

var SubMenuHandler = {
    init : function() {
        $("#statisticManager, #deviceManager, #policyManager").click(
            function(event) {
                var url = SubMenuHandler.getUrlFromEvent(event); // &lt;-- These two
                SubMenuHandler.redirectPage(url);                // &lt;-- lines
            }
        );
    },
    redirectPage : function(url) {
        $(location).attr("href", url);
    },
    getUrlFromEvent : function(event) {
        var target = event.target;
        var url = $(target).data("url");
        return url;
    }
}
</code></pre>

<p>As you can see, <code>SubMenuHandler</code> is called recursively in the class.</p>

<p>But, I don't see how this is done as good. From my experiences with other languages, they usually use the <code>this</code> keyword instead of using the full name of class, except when accessing static variables.</p>

<p>Is there similar or better way to do this job?</p>
