function statement requires a name error in JQuery
<p>I have this function but it gives me function statement require name onStop function</p>

<pre><code>&lt;script type="text/javascript"&gt;
 jQuery( function($) {
    $('#Hnav, #Nnav').NestedSortable(
            {
                accept: 'sort',
                noNestingClass: "no-children",
                helperclass: 'helper',
                autoScroll: true,
                onChange: function(serialized) {
                onStop : function(){
                    $('#output').html($(this).id);
                },
                    nestingPxSpace : '0'
            }
    );
});
&lt;/script&gt;
</code></pre>
