Can you either set a constant named TAB_KEY and use that, or add a comment explaining that 9 corresponds to the tab key? JS key codes are always super confusing.