added jquery

and fixed keycode stuff