browserify module to convert keydown events to string