I am fairly new to javascript but my CS classes were in java so I have a grasp of how it works just not comfortable with the usage yet.

I am trying to include the konami code trick onto a website. Here is the jist if you don't already know... http://snaptortoise.com/konami-js/ While putting the code onto the site is really simple my question is:

Is it possible to rig it to play a sound file, mp3 preferably, when the konami cheat is entered into the website?

Any help would be greatly appreciated!

Thank you