Pass event variable as `e` to function to prevent "ReferenceError: e is not defined" on keypress events
Merge branch 'document-keypress-event-bugfix'