Am I using the correct naming for my javascript?
<p>I have the following and I am putting it in a directory called Prototypes:</p>

<pre><code>$.fn.buildTableOfContent = function () {
    "use strict";
    var h2 = this.find('h2');
    if (h2.length &gt; 0) {
        var h1 = this.find('h1:first');
        if (h1.length === 0) {
            h1 = this.prepend('&lt;h1&gt;Help&lt;/h1&gt;').children(':first');
        }
        var menu = h1.wrap('&lt;div class="h1 with-menu"&gt;&lt;/div&gt;')
                .after('&lt;div class="menu"&gt;&lt;img src="/Content/images/menu-open-arrow.png" width="16" height="16"&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;')
                .next().children('ul');
    }
    return this;
};
</code></pre>

<p>Does this correctly describe what the function does? In which case how do
you think I should name the directory that holds a file containing the following:</p>

<pre><code>$.fn.updateTabs.enabledHash = false
</code></pre>

<p>Hope this question does not get removed as I would like to know how people give directory names to certain javascript code like this.</p>
