Easy handle keypress event javascript library