Usage

var kc = new MTKonamicode({ onWin: function(){ alert("You've won a cookie!"); } });

Try it here (press the same keys as on the image)

Perform the Konamicode on this site, but be carefull if you have "Type to search" active in your Safari then it will not work