Making jess-mode v1.2 work on Emacs 24

If you try running jess-mode with Emacs 24 you get an error about “shared-lisp-mode-map” and jess-mode doesn’t work. Someone already described the fix here, and it works!
Here is a patch.