Load javascript function after other function
<p>I have two functions. I'd like <code>moduleList()</code> to load AFTER <code>reloadModules()</code>:</p>

<pre><code>reloadModules();
moduleList();

function reloadModules() {
    $.get(v2_settings_url + 'v2_nav/', null, function(responseText) {
        $('#dock ul').html(responseText).parent().fadeIn();
    });
    $.get(v2_settings_url + 'v2_edit_bar_nav/', null, function(responseText) {
        var target = $('#edit-nav-bar-settings-div');
        target.html(responseText);
    });
};
</code></pre>
