no magic numbers, move into a variable `e.keyCode === ESCAPE_KEY`