how to add image to screen at the press of keyboard “enter” click?

I am trying to add an image to my screen at the press of the “enter” key, but am unable to do so. I am currently using Raphael javascript library. I tried to use event. which == 13 but it does not work. there was no error on the console

picture of code