hammerspoon: tidy up eventtap code a little
hammerspoon: tidy up eventtap code a little

Should be no behavioral change.

wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent,wincent/wincent