JavaScript design pattern
<p>can someone please explain to me the following JavaScript design pattern example and what it's trying to accomplish?</p>

<pre><code>    var Knockback = { };
    Knockback.Observables = (function () {

        function Observables(model, mappings_info, view_model) {
            this.model = model;
            this.mappings_info = mappings_info;
            this.view_model = view_model;


            //logic in here
        }
        Observables.prototype.destroy = function () {
            //logic in here


            this.view_model = null;
            this.mappings_info = null;
            return this.model = null;
        };

        return Observables;
    })();

Knockback.observables = function(model, mappings_info, view_model, options) {
    return new Knockback.Observables(model, mappings_info, view_model, options);
};
</code></pre>
