function() {
    var self = this;
    var keys = Object.keys(self._spriteMap);

    keys.forEach(function(key) {
      window[key].addEventListener('click', function() {
        self.play(key);
      }, false);
    });
  }
function() {
    var self = this;
    var keys = Object.keys(self._spriteMap);

    keys.forEach(function(key) {
      window[key].addEventListener('click', function() {
        self.play(key);
      }, false);
    });
  }
function ( ) { var self = this ; var keys = Object . keys ( self . _spriteMap ) ; keys . forEach ( function ( key ) { window [ key ] . addEventListener ( 'click' , function ( ) { self . play ( key ) ; } , false ) ; } ) ; }
Setup the listeners for each sprite click area.
Setup the listeners for each sprite click area .
Add event listeners to the sprites