Javascript library designed to more robustly handle key combinations