Library to watch keystrokes in Javascript