Best practice writing methods inside object literal
<p>I was wondering if the following is good way to write and access methods inside an object literal:</p>

<pre><code>    var wrapper = {};
        wrapper.methods = {
        init: function( ){
            alert(this.doWork());
        },
        doWork: function () {
            return "my colors " + wrapper.methods.doMoreWork(wrapper.methods.data, wrapper.methods.word);
        },
        doMoreWork: function ( data, word ){
            var val='';
            for (var i =0; i&lt;data.length; i++){
                val += "I " + word[data[i].id] + " " + data[i].color;
            }
            return val;
        },

        data: [ { "id": 0, "color": "red"},
                { "id": 1, "color": "blue"},
                { "id": 2, "color": "green"}
              ],
        word: ["love","like","hate"]

    };
</code></pre>

<p>Please advise a good way to write and access methods inside a namespace/wrapper if I am doing something horribly wrong.</p>

<p>Many thanks :)</p>
