I was trying to create a self reference where each instance had a reference to itself.
I believe I posted queries about it to the javascript programming forum some time ago,
but I didn't find my record of the post.
Here is what I finally came up with. (dev, test, & run in Firefox on Mac OSX)

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Lab 9</title>
<script type="text/javascript">
function test()
         {
          this.getResult = function(str)
               {
                var place = document.getElementById('result')
                    place.childNodes[0].data += str; // target html element defaults to one space so childNodes[0] will be valid
               }
          
          this.init = function(name, str) // name == instance label, str is what is to be shown
               {
                var name = name;
                var str = str
                var target = document.getElementById('testButton')
                    target.addEventListener('click', function(){ name.getResult(str); }, false)
               }
         }
var TEST1 = new test();
var TEST2 = new test();
var TEST3 = new test();
window.onload =  function() {  
                               TEST1.init(TEST1, 'passed ');
                               TEST2.init(TEST2, 'the ');
                               TEST3.init(TEST3, 'test'); 
                            }
</script>
<body>
<p>Getting an object that sets an event listener to know itself by<br />
its instance label.<br />
<input type="button" id="testButton" value="TEST" />&nbsp;&nbsp;&nbsp;&nbsp;<span id="result" style="color:green"> </span><br />
<br />
6/22/2014<br />
Hurray! I finally got the hang of creating a self referent object
</p>
<pre><code>
function test()
         {
          this.getResult = function(str)
               {
                var place = document.getElementById('result')
                    place.childNodes[0].data += str;
               }
          
          this.init = function(name, str)
               {
                var name = name;
                var str = str
                var target = document.getElementById('testButton')
                    target.addEventListener('click', function(){ name.getResult(str); }, false)
               }
         }
var TEST1 = new test();
var TEST2 = new test();
var TEST3 = new test();
window.onload =  function() {  
                               TEST1.init(TEST1, 'passed ');
                               TEST2.init(TEST2, 'the ');
                               TEST3.init(TEST3, 'test'); 
                            }
</code>
</pre>
</body>
</html>